Messages in this thread |  | | Date | Tue, 3 Sep 2002 13:06:12 -0400 | From | Benjamin LaHaise <> | Subject | Re: [PATCH] compile fix for fs/aio.c on non-highmem systems |
| |
On Fri, Aug 30, 2002 at 04:36:56PM -0700, David S. Miller wrote: > Or that since the enumeration values are basically identical > on every system that the belong in linux/kmap_types.h :-)
The main problem here is that one needs different kmap types depending on which context a function is called from (which is why I needed the enum as a parameter to the function). Unfortunately, the amount of memory needed for ringbuffers can grow pretty large on a system with many tasks, so not kmapping them isn't an option. Making it a #define certainly works quite well, but if someone has a better idea to the kmap mess, I'd love to see it improved.
-ben -- "You will be reincarnated as a toad; and you will be much happier." - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|  |