Re: Top kernel oopses/warnings for the week of May 30th 2008

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Andrew Morton
Date: Monday, June 2, 2008 - 6:19 pm

On Tue, 3 Jun 2008 01:41:22 +0100 (BST) Hugh Dickins <hugh@veritas.com> wrote:


Well, if you're sure..  I didn't look very closely (sorry), nor did you
explain very closely.

I think doing this sort of thing is OK in fs/exec.c from the
should-we-be-doing-this-in there POV, but it should have suitable comments
slapped all over it.


So...  places like file_read_actor() would be given an open-coded
pagefault_disable() so we preserve out implicit boolean-passing down to
do_page_fault()?

One of the reasons why we (I?) left kmap_atomic() doing
pagefault_disable() for all pages was testing coverage: not many
developers test with highmem nowadays so there's a high risk (almost a
certainty) that people will start adding can-schedule code inside their
kmap_atomic() regions.  Probably it's not a terribly good reason...
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Top kernel oopses/warnings for the week of May 30th 2008, Arjan van de Ven, (Fri May 30, 9:39 am)
Re: Top kernel oopses/warnings for the week of May 30th 2008, Arjan van de Ven, (Fri May 30, 2:49 pm)
Re: Top kernel oopses/warnings for the week of May 30th 2008, Arjan van de Ven, (Fri May 30, 3:00 pm)
Re: Top kernel oopses/warnings for the week of May 30th 2008, Arjan van de Ven, (Fri May 30, 3:17 pm)
Re: Top kernel oopses/warnings for the week of May 30th 2008, Arjan van de Ven, (Fri May 30, 3:34 pm)
Re: Top kernel oopses/warnings for the week of May 30th 2008, Arjan van de Ven, (Fri May 30, 3:36 pm)
Re: Top kernel oopses/warnings for the week of May 30th 2008, Arjan van de Ven, (Sun Jun 1, 7:27 pm)
Re: Top kernel oopses/warnings for the week of May 30th 2008, Andrew Morton, (Mon Jun 2, 6:19 pm)