Hi All.

I was wondering if there is an alternative to the GFP_NOFS flag provided
in Linux Kernel Malloc [kmalloc() & kfree()] for FreeBSD, or is there any
info. I am missing?

Linux calls the kmalloc() system call as:
[ an extract from jfs_dtree.c (jfs4bsd) ]

%%%
ciKey.name =
    (wchar_t *) kmalloc((JFS_NAME_MAX + 1) * sizeof(wchar_t), GFP_NOFS);
%%%

As of now, I have changed this to just use M_WAITOK and malloc() call, but
I was wondering if anyone can guide me on this GFP_NOFS alternative.  Also,
Alfred to told me on IRC to just #define M_NOFS 0 for now, and then worry
about it later.

TIA.

Hiten
[EMAIL PROTECTED]

__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to