[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20081105090102.GB9141@elte.hu>
Date: Wed, 5 Nov 2008 10:01:02 +0100
From: Ingo Molnar <mingo@...e.hu>
To: Jonathan Corbet <corbet@....net>
Cc: Linus Torvalds <torvalds@...ux-foundation.org>,
Keith Packard <keithp@...thp.com>,
Jesse Barnes <jbarnes@...tuousgeek.org>,
Nick Piggin <nickpiggin@...oo.com.au>,
Dave Airlie <airlied@...ux.ie>,
Yinghai Lu <yinghai@...nel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [git pull] IO mappings, #2
* Jonathan Corbet <corbet@....net> wrote:
> Having looked at this some, I have one, tiny little suggestion:
>
> > +With this mapping object, individual pages can be mapped either
> > atomically +or not, depending on the necessary scheduling
> > environment. Of course, atomic +maps are more efficient:
> > +
> > + void *io_mapping_map_atomic_wc(struct io_mapping *mapping,
> > + unsigned long offset)
>
> Should the documentation for this function (perhaps the
> certainly-forthcoming kerneldoc comments :) mention loudly that this
> function uses KM_USER0? This isn't kmap(), and doesn't look much
> like it; someday some developer might get an ugly surprise when they
> try to use that slot simultaneously for something else.
definitely worth a comment.
Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists