public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@linux-foundation.org>
To: William Lee Irwin III <wli@holomorphy.com>
Cc: Paul Menage <menage@google.com>, linux-kernel@vger.kernel.org
Subject: Re: 2.6.22-rc4-mm1
Date: Wed, 6 Jun 2007 11:13:15 -0700	[thread overview]
Message-ID: <20070606111315.884cf712.akpm@linux-foundation.org> (raw)
In-Reply-To: <20070606163053.GM6909@holomorphy.com>

On Wed, 6 Jun 2007 09:30:53 -0700 William Lee Irwin III <wli@holomorphy.com> wrote:

> On Wed, Jun 06, 2007 at 02:07:37AM -0700, Andrew Morton wrote:
> > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.22-rc4/2.6.22-rc4-mm1/
> > - Somebody broke it on my powerpc G5, but I didn't have time to do yet
> >   another bisection yet.
> > - There's a lengthy patch series here from Nick which attempts to address
> >   the longstanding pagefault-vs-buffered-write deadlock.
> >   A great shower of filesystems were broken and have been disabled with
> >   CONFIG_BROKEN.  This includes reiser4.
> > - Complex patches which eliminate the kernel's fixed size limit on the
> >   command-line length.  These break nommu builds.
> 
> Someone remind me what the pagefault vs. buffered write deadlock is.

generic_file_write() does lock_page(), then copies the user's data into
pagecache.  If that copy_from_user() encounters a major fault and the page
is not uptodate, the pagefault handler does lock_page() and deadlocks.

It requires that the user be writ()ing from a mmap of the page back into
the same page, which is weird.

The kernel tries to prefault the page to avoid the copy_from_user() fault,
but there are ways in whcih that can be defeated (super memory pressure,
malicious fadvise() from a second thread, etc).

> Something brings down i386/qemu before even earlyprintk can handle.
> 
> Bisection has narrowed it down to patch 1140 after everything got
> renumbered by peterz' fix for mm-variable-length-argument-support.patch,
> namely containersv10-make-cpusets-a-client-of-containers.patch

erk.  A step-by-step how-to-make-this-happen might help if poss, please.

  reply	other threads:[~2007-06-06 18:13 UTC|newest]

Thread overview: 120+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-06  9:07 2.6.22-rc4-mm1 Andrew Morton
2007-06-06 11:39 ` 2.6.22-rc4-mm1 Gabriel C
2007-06-06 16:51   ` 2.6.22-rc4-mm1 Andrew Morton
2007-06-07  0:01     ` 2.6.22-rc4-mm1 Robert Hancock
2007-06-06 12:43 ` 2.6.22-rc4-mm1 Cedric Le Goater
2007-06-06 15:18   ` 2.6.22-rc4-mm1 Michal Piotrowski
2007-06-06 16:01     ` 2.6.22-rc4-mm1 Cedric Le Goater
2007-06-06 16:26       ` 2.6.22-rc4-mm1 Mel Gorman
2007-06-06 16:35         ` 2.6.22-rc4-mm1 William Lee Irwin III
2007-06-06 16:47           ` 2.6.22-rc4-mm1 Mel Gorman
2007-06-06 16:53             ` 2.6.22-rc4-mm1 Cedric Le Goater
2007-06-06 17:20               ` 2.6.22-rc4-mm1 Andrew Morton
2007-06-06 17:06           ` 2.6.22-rc4-mm1 Peter Zijlstra
2007-06-06 19:27             ` 2.6.22-rc4-mm1 Peter Zijlstra
2007-06-06 13:04 ` 2.6.22-rc4-mm1 Jiri Slaby
2007-06-06 13:06 ` 2.6.22-rc4-mm1 Cedric Le Goater
2007-06-06 13:48   ` 2.6.22-rc4-mm1 Andy Whitcroft
2007-06-06 17:23     ` 2.6.22-rc4-mm1 Andrew Morton
2007-06-06 13:49 ` 2.6.22-rc4-mm1 -- ia64 build failure Andy Whitcroft
2007-06-06 17:43   ` Andrew Morton
2007-06-06 18:11     ` Yinghai Lu
2007-06-06 14:00 ` 2.6.22-rc4-mm1 -- x86_64 ACPI panic Andy Whitcroft
2007-06-06 17:52   ` Andrew Morton
2007-06-08  9:15     ` Luming Yu
2007-06-08 18:12       ` Andrew Morton
2007-06-26  6:00         ` Len Brown
     [not found] ` <6bffcb0e0706060356y3628e26m49fdce4d6fb8cac9@mail.gmail.com>
2007-06-06 14:34   ` 2.6.22-rc4-mm1 Michal Piotrowski
2007-06-06 17:14     ` 2.6.22-rc4-mm1 Andrew Morton
2007-06-06 16:08 ` 2.6.22-rc4-mm1 - 'lvm vgscan' busticated again Valdis.Kletnieks
2007-06-07  6:44   ` Tejun Heo
2007-06-07 20:28     ` Valdis.Kletnieks
2007-06-08  6:37       ` Tejun Heo
2007-06-06 16:19 ` 2.6.22-rc4-mm1 WANG Cong
2007-06-06 18:09   ` 2.6.22-rc4-mm1 Andrew Morton
2007-06-07  2:26     ` 2.6.22-rc4-mm1 WANG Cong
2007-06-07  5:59       ` 2.6.22-rc4-mm1 Matt Mackall
2007-06-07  6:51         ` 2.6.22-rc4-mm1 WANG Cong
2007-06-07 14:04           ` 2.6.22-rc4-mm1 Matt Mackall
2007-06-07 15:40             ` 2.6.22-rc4-mm1 WANG Cong
2007-06-07 15:59               ` 2.6.22-rc4-mm1 Matt Mackall
2007-06-07 16:39                 ` 2.6.22-rc4-mm1 WANG Cong
2007-06-07 16:59                   ` 2.6.22-rc4-mm1 Matt Mackall
2007-06-08  4:43                     ` 2.6.22-rc4-mm1 WANG Cong
2007-06-06 16:30 ` 2.6.22-rc4-mm1 William Lee Irwin III
2007-06-06 18:13   ` Andrew Morton [this message]
2007-06-06 19:43     ` 2.6.22-rc4-mm1 William Lee Irwin III
2007-06-07  0:32       ` 2.6.22-rc4-mm1 Paul Menage
2007-06-07  1:09         ` 2.6.22-rc4-mm1 Andrew Morton
2007-06-07  6:13           ` 2.6.22-rc4-mm1 William Lee Irwin III
2007-06-06 18:23   ` 2.6.22-rc4-mm1 Andy Whitcroft
2007-06-06 16:42 ` 2.6.22-rc4-mm1 Cedric Le Goater
2007-06-06 18:48 ` 2.6.22-rc4-mm1 Michal Piotrowski
2007-06-06 20:16   ` 2.6.22-rc4-mm1 Andrew Morton
2007-06-06 22:14   ` 2.6.22-rc4-mm1 Kay Sievers
2007-06-07  8:40     ` 2.6.22-rc4-mm1 Michal Piotrowski
2007-06-07  8:48       ` 2.6.22-rc4-mm1 Kay Sievers
2007-06-07  9:41         ` 2.6.22-rc4-mm1 Michal Piotrowski
2007-06-07 15:04           ` 2.6.22-rc4-mm1 Kay Sievers
2007-06-07 15:25             ` 2.6.22-rc4-mm1 Peter Jones
2007-06-07 15:43               ` 2.6.22-rc4-mm1 Greg KH
2007-06-07 15:52                 ` 2.6.22-rc4-mm1 Andrew Morton
2007-06-07 15:59                   ` 2.6.22-rc4-mm1 Greg KH
2007-06-07 16:06                     ` 2.6.22-rc4-mm1 Andrew Morton
2007-06-07 16:15                       ` 2.6.22-rc4-mm1 Greg KH
2007-06-07 18:48                         ` 2.6.22-rc4-mm1 Bill Nottingham
2007-06-07 20:01                           ` 2.6.22-rc4-mm1 Greg KH
2007-06-07 21:00                             ` 2.6.22-rc4-mm1 Peter Jones
2007-06-07 23:09                               ` 2.6.22-rc4-mm1 Greg KH
2007-06-07 22:32                             ` 2.6.22-rc4-mm1 Alan Cox
2007-06-07 23:09                               ` 2.6.22-rc4-mm1 Greg KH
2007-06-08 15:33                                 ` 2.6.22-rc4-mm1 Valdis.Kletnieks
2007-06-08 15:50                                   ` 2.6.22-rc4-mm1 Greg KH
2007-06-08 16:11                                     ` 2.6.22-rc4-mm1 Greg KH
2007-06-08 16:10                                   ` 2.6.22-rc4-mm1 Kay Sievers
2007-06-08  7:31                         ` 2.6.22-rc4-mm1 Andrew Morton
2007-06-08 15:51                           ` 2.6.22-rc4-mm1 Greg KH
2007-06-08 16:36                             ` 2.6.22-rc4-mm1 Kay Sievers
2007-06-08 17:21                               ` 2.6.22-rc4-mm1 Peter Jones
2007-06-06 19:32 ` 2.6.22-rc4-mm1 Mariusz Kozlowski
2007-06-06 20:24   ` 2.6.22-rc4-mm1 Andrew Morton
2007-06-06 20:52     ` 2.6.22-rc4-mm1 Fabio Comolli
2007-06-06 21:28     ` 2.6.22-rc4-mm1 Herbert Xu
2007-06-06 23:42       ` 2.6.22-rc4-mm1 Andrew Morton
2007-06-07  6:54         ` 2.6.22-rc4-mm1 Jan Engelhardt
2007-06-07  7:01           ` 2.6.22-rc4-mm1 Herbert Xu
2007-06-07  7:12             ` 2.6.22-rc4-mm1 Andrew Morton
2007-06-11  5:01               ` 2.6.22-rc4-mm1 Dan Williams
2007-06-11  6:26                 ` 2.6.22-rc4-mm1 Andrew Morton
2007-06-11  6:51                 ` 2.6.22-rc4-mm1 Paul Mundt
2007-06-07 19:27           ` 2.6.22-rc4-mm1 Adrian Bunk
2007-06-06 20:58 ` 2.6.22-rc4-mm1 Grant Wilson
2007-06-06 23:37   ` 2.6.22-rc4-mm1 Andrew Morton
2007-06-07 14:53     ` 2.6.22-rc4-mm1 Alan Stern
2007-06-08  4:23       ` [linux-usb-devel] 2.6.22-rc4-mm1 Greg KH
2007-06-08 14:06         ` Alan Stern
2007-06-08 18:47           ` Greg KH
2007-06-07  7:53 ` [2.6.22-rc4-mm1] ACPI Exception (processor_throttling) Maciej Rutecki
2007-06-07  8:51   ` Maciej Rutecki
2007-06-07  9:09   ` Luming Yu
2007-06-07 10:30     ` Maciej Rutecki
2007-06-07 12:47 ` 2.6.22-rc4-mm1 KAMEZAWA Hiroyuki
2007-06-07 15:34   ` 2.6.22-rc4-mm1 Andrew Morton
2007-06-08  0:31     ` 2.6.22-rc4-mm1 KAMEZAWA Hiroyuki
  -- strict thread matches above, loose matches on Subject: below --
2007-06-06 14:21 2.6.22-rc4-mm1 Mikael Pettersson
2007-06-06 15:34 ` 2.6.22-rc4-mm1 Jiri Slaby
2007-06-06 17:56   ` 2.6.22-rc4-mm1 Andrew Morton
2007-06-06 18:24     ` 2.6.22-rc4-mm1 Jiri Slaby
2007-06-07  6:44       ` 2.6.22-rc4-mm1 Tejun Heo
2007-06-07  7:01         ` 2.6.22-rc4-mm1 Jiri Slaby
2007-06-07  7:09           ` 2.6.22-rc4-mm1 Tejun Heo
2007-06-07  7:15             ` 2.6.22-rc4-mm1 Jiri Slaby
2007-06-07  7:22               ` 2.6.22-rc4-mm1 Tejun Heo
2007-06-07 15:54                 ` 2.6.22-rc4-mm1 Jiri Slaby
2007-06-07 16:01                   ` 2.6.22-rc4-mm1 Greg KH
2007-06-07 17:02                     ` 2.6.22-rc4-mm1 Jiri Slaby
2007-06-07 20:09                       ` 2.6.22-rc4-mm1 Greg KH
     [not found] <fa.463099pz3wyAW1RRKsHFuX299RE@ifi.uio.no>
     [not found] ` <fa.zIhbKpmFY9tR8ro0OTwpTvD79Xk@ifi.uio.no>
2007-06-06 14:35   ` 2.6.22-rc4-mm1 Robert Hancock
2007-06-06 18:18     ` 2.6.22-rc4-mm1 Andy Whitcroft
2007-06-06 18:27       ` 2.6.22-rc4-mm1 Andrew Morton
2007-06-06 19:06         ` 2.6.22-rc4-mm1 Andy Whitcroft

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070606111315.884cf712.akpm@linux-foundation.org \
    --to=akpm@linux-foundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=menage@google.com \
    --cc=wli@holomorphy.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox