Search Linux Wireless

Re: [PATCH 06/13] o11s: mesh.c, support functions for mesh

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

 



> +	p = kmalloc(sizeof(struct rmc_entry), GFP_ATOMIC);

rcm_entry is pretty small (24/48 bytes on 32/64-bit machines, if you
reorder the fields and put "sa" last it will be only 22/46 bytes) and
there are lots of it, maybe it would be worth using a kmem_cache? 

johannes

Attachment: signature.asc
Description: This is a digitally signed message part


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux