Messages in this thread | | | Date | Thu, 28 Oct 2004 00:20:37 -0400 | From | Jeff Garzik <> | Subject | Re: [PATCH 2.4] the perils of kunmap_atomic |
| |
Nigel Cunningham wrote: > DEBUG_HIGHMEM under 2.4). It would be good if any patch produced a > warning if you call kunmap_atomic with the wrong kind of parameter.
Well, the compiler has a rather difficult time with that, since any kernel address is going to be void*, which C will nicely cast struct page* into.
Jeff
- 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/
| |