Kernel questions...

Michael Nelson (mikenel@netcom.com)
Sat, 22 Jul 1995 16:03:22 -0700 (PDT)


I have few kernel-related questions...

1) Are there any particular caveats when using kmalloc (i.e. allocs must
be in 4k pages, kmallocs must be < n bytes, etc...). How does it
different from vmalloc (pageable memory?)

2) Does task[0] exist as a user or kernel mode process?

3) With regards to executables: Can someone explain brk and bss? I
vaguely understand that the former has something to do with limits on
data segments, but that's it.

4) How do user mode programs allocate memory? I don't have libc handy,
but I haven't noticed that there is any sort of "malloc" system call...

Thanks.

-- Mike

--
Michael Nelson (mikenel@netcom.com) | Real programmers don't comment their
Rockville, Maryland                 | code. It was hard to write, it should
BSD/OS, WinNT, OLE2 Development     | be hard to understand.