mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Martin Schlemmer <azarah@nosferatu.za.org>
To: colpatch@us.ibm.com
Cc: Jesse Barnes <jbarnes@sgi.com>, Andrew Morton <akpm@osdl.org>,
	Linux Kernel Mailing Lists <linux-kernel@vger.kernel.org>,
	mbligh@aracnet.com
Subject: Re: [PATCH] Simplify node/zone field in page->flags
Date: Wed, 07 Jan 2004 18:43:43 +0200	[thread overview]
Message-ID: <1073493823.6075.393.camel@nosferatu.lan> (raw)
In-Reply-To: <3FFB35CE.8020905@us.ibm.com>

[-- Attachment #1: Type: text/plain, Size: 1037 bytes --]

On Wed, 2004-01-07 at 00:25, Matthew Dobson wrote:

> > 
> > Get this with gcc-3.3.2 cvs:
> > 
> > --
> > include/linux/mm.h: In function `page_nodenum':
> > include/linux/mm.h:337: warning: right shift count >= width of type
> > include/linux/mm.h:337: warning: suggest parentheses around + or -
> > inside shift
> > --
> > 
> > Think we could get those () in to make it more clear and the compiler
> > happy?
> > 
> > 
> > Thanks,
> > 
> 
> Figured out what the right shift count message was about.  On UP with 
> MAX_NODES_SHIFT = 0, the node bitfield has no length so the bitshift was 
> too far.  Setting MAX_NODES_SHIFT = 1 gives the node bitfield a size of 
> 1, and we just store a 0 there for node 0.
> 
> Updated patch attatched.

Hmm, have smp here:

--
 # grep SMP /usr/src/linux-2.6.1-rc1-bk6/.config
CONFIG_BROKEN_ON_SMP=y
# CONFIG_X86_BIGSMP is not set
CONFIG_SMP=y
CONFIG_X86_FIND_SMP_CONFIG=y
CONFIG_X86_SMP=y
--

but yes, last patch fixes it!


Thanks,

-- 
Martin Schlemmer

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2004-01-07 16:40 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-22 19:51 Matthew Dobson
2003-12-22 21:11 ` Andrew Morton
2004-01-05 21:22   ` Matthew Dobson
2004-01-05 21:37     ` Jesse Barnes
2004-01-05 22:31       ` Matthew Dobson
2004-01-05 22:33       ` Matthew Dobson
2004-01-05 23:23         ` Martin Schlemmer
2004-01-06  0:26           ` Matthew Dobson
2004-01-06 22:25           ` Matthew Dobson
2004-01-07 16:43             ` Martin Schlemmer [this message]
2004-03-29 15:45           ` Matthew Dobson
2004-03-29 15:45         ` Martin Schlemmer
2004-03-29 15:45       ` Matthew Dobson
2004-03-29 15:45       ` Matthew Dobson
2004-03-29 15:45     ` Jesse Barnes

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=1073493823.6075.393.camel@nosferatu.lan \
    --to=azarah@nosferatu.za.org \
    --cc=akpm@osdl.org \
    --cc=colpatch@us.ibm.com \
    --cc=jbarnes@sgi.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mbligh@aracnet.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

all inboxes | Powered by JetHome®