Bug 14989
Summary: | Out of memory allocating beacons | ||
---|---|---|---|
Product: | Drivers | Reporter: | Ritesh Raj Sarraf (linux-kernel-bugs) |
Component: | network-wireless | Assignee: | drivers_network-wireless (drivers_network-wireless) |
Status: | CLOSED UNREPRODUCIBLE | ||
Severity: | high | CC: | linville, yi.zhu |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 2.6.32 | Subsystem: | |
Regression: | No | Bisected commit-id: | |
Attachments: | fix patch |
Description
Ritesh Raj Sarraf
2010-01-05 09:14:32 UTC
Are you using IBSS (i.e. Ad-Hoc) mode? Which block allocator (e.g. SLAB, SLUB) are you using? No. I am using the Managed Mode. I am using the SLUB allocator. 08:50:55 rrs@champaran:/var/tmp/Debian $ grep -i slub /boot/config-2.6.32-trunk-686 CONFIG_SLUB_DEBUG=y CONFIG_SLUB=y # CONFIG_SLUB_DEBUG_ON is not set # CONFIG_SLUB_STATS is not set Created attachment 24461 [details] fix patch [PATCH] libipw: split ieee->networks into small pieces The ieee->networks consists of 128 struct libipw_network entries. If we allocate this chunk of memory altogether, it ends up with an order 4 page allocation. High order page allocation is likely to fail on system high load. This patch splits the big chunk memory allocation into small pieces, each is 344 bytes, allocates them with 128 times. Signed-off-by: Zhu Yi <yi.zhu@intel.com> Zhu Yi, did you ever submit that patch on the mailing list? Ritesh, did you ever test it? (In reply to comment #4) > Zhu Yi, did you ever submit that patch on the mailing list? Ritesh, did you > ever test it? No. I have not tested the patch. And have not seen the bug again. I still am running on the 2.6.32 kernel Sounds like it can't be reproduced...closing. |