lkml.org 
[lkml]   [2004]   [Oct]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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/

\
 
 \ /
  Last update: 2005-03-22 14:07    [W:0.621 / U:0.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site