Re: Netlink allocation for iSCSI and others

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

 



From: Patrick McHardy <kaber@xxxxxxxxx>
Date: Mon, 08 Aug 2005 23:19:37 +0200

> David S. Miller wrote:
> > So we can increase MAX_LINKS to 256 and that's what I think I will do
> > for 2.6.14 unless there is a very serious objection.  The tables sized
> > by MAX_LINKS in af_netlink.c are dynamically allocated, and the only
> > linear iterations over MAX_LINKS are for the netlink socket procfs
> > seq-file dumper, so it's not a performance issue either.
> 
> I think we should increase it when allocating new numbers to save the
> unused memory for the larger nltable and additional pid hashes.
> Userspace shouldn't care if we change it.

Agreed.  So we have 17 netlink numbers to allocate at this
point, and that should be good for a while.
-
: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux