DragonFly commits List (threaded) for 2009-09
DragonFly BSD
DragonFly commits List (threaded) for 2009-09
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: Use pseudo-device to specify number of precreated devs


From: Alex Hornung <alexh@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 1 Sep 2009 03:20:42 -0700 (PDT)

commit 95db3aac46e4848403464168e363dfc738549735
Author: Alex Hornung <ahornung@gmail.com>
Date:   Tue Sep 1 07:55:15 2009 +0100

    Use pseudo-device to specify number of precreated devs
    
    * use pseudo-device <dev> <n> in the kernel config to specify
      the number of devices to precreate (<n>) for snp, tun, vn, bpf.
    
    * The full rationale (for vn, snp, bpf and tun) is:
      - if NO pseudo-device foo is specified, 4 devices will be
        precreated.
      - if pseudo-device foo is specified, 4 devices will be
        precreated.
      - if pseudo-device foo N, where N > 1 is specified, N devices
        will be precreated.

Summary of changes:
 sys/dev/disk/vn/vn.c   |    6 ++++++
 sys/dev/misc/snp/snp.c |    6 ++++++
 sys/net/bpf.c          |    5 +++++
 sys/net/tun/if_tun.c   |    6 ++++++
 4 files changed, 23 insertions(+), 0 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/95db3aac46e4848403464168e363dfc738549735


-- 
DragonFly BSD source repository



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]