public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Jeff Dike <jdike@addtoit.com>
To: Greg KH <greg@kroah.com>
Cc: Rob Landley <rob@landley.net>,
	WANG Cong <xiyou.wangcong@gmail.com>,
	linux-kernel@vger.kernel.org, akpm@linux-foundation.org,
	Chris Wright <chrisw@sous-sol.org>
Subject: Re: [Patch] Fix UML broken (was Re: User Mode Linux still broken in 2.6.23.1)
Date: Fri, 16 Nov 2007 10:51:08 -0500	[thread overview]
Message-ID: <20071116155108.GA5453@c2.user-mode-linux.org> (raw)
In-Reply-To: <20071116071527.GE31582@kroah.com>

On Thu, Nov 15, 2007 at 11:15:27PM -0800, Greg KH wrote:
> Rob, I'll queue this up for the next cycle, now that you've verified
> that it was not fixed already, thanks for testing.

I wouldn't.

sparc includes swap.h in its pgtable.h.  Adding pagemap.h to swap.h
completes an include loop on sparc which blows up its build.

I have a set of patches to fix this in a different way, which I sent
out for comments a few weeks ago.  They
	add uaccess.h to various futexes.h because these will start
failing to build when the next patch is applied
	break the recursion by removing highmem.h from pagemap.h,
which needs nothing related to highmem, and sprinkle includes of
highmem.h in all the files which formerly got it through pagemap.h
	now, pagemap.h can be added to swap.h without blowing up sparc
	also, the other arches can include swap.h in their pgtables.h,
which they probably should since they define operations on
swp_entry_t, which is defined in swap.h.

				Jeff

-- 
Work email - jdike at linux dot intel dot com


  reply	other threads:[~2007-11-16 15:51 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-04  4:51 User Mode Linux still broken in 2.6.23.1 Rob Landley
2007-11-14 18:54 ` Greg KH
2007-11-15  5:58   ` Rob Landley
2007-11-15  6:02     ` Greg KH
2007-11-15 20:57       ` Rob Landley
2007-11-15 21:06         ` Greg KH
2007-11-16  3:08           ` [Patch] Fix UML broken (was Re: User Mode Linux still broken in 2.6.23.1) WANG Cong
2007-11-16  5:01             ` Rob Landley
2007-11-16  7:15               ` Greg KH
2007-11-16 15:51                 ` Jeff Dike [this message]
2007-11-16 16:53                   ` Greg KH
2007-11-16 22:00                   ` Rob Landley
2007-11-17 18:53                     ` Jeff Dike
2007-11-18 20:17                       ` Rob Landley
2007-11-18 21:32                         ` Sam Ravnborg
2007-11-19  7:14                           ` Rob Landley
2007-11-16 18:00                 ` Rob Landley
2007-11-16 15:12             ` Jeff Dike
2007-11-16 15:26               ` WANG Cong

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=20071116155108.GA5453@c2.user-mode-linux.org \
    --to=jdike@addtoit.com \
    --cc=akpm@linux-foundation.org \
    --cc=chrisw@sous-sol.org \
    --cc=greg@kroah.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rob@landley.net \
    --cc=xiyou.wangcong@gmail.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