kmem_zalloc(size, KM_NOSLEEP) call from within my
driver fails under LiS-2.16.18 and the following info gets
printed:
__alloc_pages: 8-order allocation failed
(gfp=0x20/0)
lis_get_free_pages: called from .... #...:
nbytes=631396 order=8 total=1048576 allocation failed
when
i check on /proc/meminfo, i see the following:
MemFree: 20752 kB
which
suggests that there is sufficient memory on the system.
what
may be causing the kmem_zalloc failure? could KM_NOSLEEP be the
cause?
thanks & regards --
GA
