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

strange GFP_ATOMIC definition in skbufio.h



Hi

In oskit/linux/src/include/linux/mm.h GFP_ATOMIC is defined so:

  #define __GFP_HIGH	0x08
  [...]
  #define GFP_ATOMIC	(__GFP_HIGH)


But on line 428 in oskit/linux/oskit/io/skbufio.h GFP_ATOMIC is following
redefined:

  #define GFP_ATOMIC	0


In oskit/linux/shared/s_kmem.c kmalloc uses the Linux definition,
meanwhile in oskit/linux/dev/skbuff_mem.c the secound definition applies.
Why is GFP_ATOMIC redefined? I propose to remove it or set on the same
value.


wagi

-- 
Daniel Wagner                              "use quit to exit"
email: wagi@gmx.ch

GnuPG: 1024D/DCDE890A (public key available on any keyserver)