[Prev][Next][Index][Thread]
strange GFP_ATOMIC definition in skbufio.h
-
To: oskit-users mailing list <oskit-users@cs.utah.edu>
-
Subject: strange GFP_ATOMIC definition in skbufio.h
-
From: Daniel Wagner <wagi@gmx.ch>
-
Date: Wed, 7 Nov 2001 00:32:57 +0100
-
Mail-Followup-To: Daniel Wagner <wagi@aragorn>, oskit-users mailing list <oskit-users@cs.utah.edu>
-
Sender: owner-oskit-users@fast.cs.utah.edu
-
User-Agent: Mutt/1.2.5i
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)