mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Warn about trap for programmer in mm.h
@ 2002-04-25 10:04 Pavel Machek
  2002-04-25 10:13 ` Dave Jones
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Pavel Machek @ 2002-04-25 10:04 UTC (permalink / raw)
  To: Rusty trivial patch monkey Russell, kernel list

Hi!

As suggested by A.Morton:
									Pavel

--- clean/include/linux/mm.h	Thu Apr 18 22:46:17 2002
+++ linux/include/linux/mm.h	Thu Apr 25 12:01:19 2002
@@ -291,8 +291,8 @@
 #define PG_arch_1		13
 #define PG_reserved		14
 #define PG_launder		15	/* written out by VM pressure.. */
-
 #define PG_private		16	/* Has something at ->private */
+/* Top 8 bits are used for page's zone in 2.4-ac and 2.5, don't use them */
 
 /* Make it prettier to test the above... */
 #define UnlockPage(page)	unlock_page(page)

-- 
(about SSSCA) "I don't say this lightly.  However, I really think that the U.S.
no longer is classifiable as a democracy, but rather as a plutocracy." --hpa

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Warn about trap for programmer in mm.h
  2002-04-25 10:04 Warn about trap for programmer in mm.h Pavel Machek
@ 2002-04-25 10:13 ` Dave Jones
  2002-04-25 10:40   ` Pavel Machek
  2002-04-25 10:15 ` Christoph Hellwig
  2002-04-26  0:37 ` David S. Miller
  2 siblings, 1 reply; 5+ messages in thread
From: Dave Jones @ 2002-04-25 10:13 UTC (permalink / raw)
  To: Pavel Machek; +Cc: Rusty trivial patch monkey Russell, kernel list

On Thu, Apr 25, 2002 at 12:04:40PM +0200, Pavel Machek wrote:
 >  #define PG_private		16	/* Has something at ->private */
 > +/* Top 8 bits are used for page's zone in 2.4-ac and 2.5, don't use them */
 >  

Erm, and 2.4 mainline these days isn't it?

-- 
| Dave Jones.        http://www.codemonkey.org.uk
| SuSE Labs

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Warn about trap for programmer in mm.h
  2002-04-25 10:04 Warn about trap for programmer in mm.h Pavel Machek
  2002-04-25 10:13 ` Dave Jones
@ 2002-04-25 10:15 ` Christoph Hellwig
  2002-04-26  0:37 ` David S. Miller
  2 siblings, 0 replies; 5+ messages in thread
From: Christoph Hellwig @ 2002-04-25 10:15 UTC (permalink / raw)
  To: Pavel Machek; +Cc: Rusty trivial patch monkey Russell, kernel list

On Thu, Apr 25, 2002 at 12:04:40PM +0200, Pavel Machek wrote:
> Hi!
> 
> As suggested by A.Morton:
> 									Pavel
> 
> --- clean/include/linux/mm.h	Thu Apr 18 22:46:17 2002
> +++ linux/include/linux/mm.h	Thu Apr 25 12:01:19 2002
> @@ -291,8 +291,8 @@
>  #define PG_arch_1		13
>  #define PG_reserved		14
>  #define PG_launder		15	/* written out by VM pressure.. */
> -
>  #define PG_private		16	/* Has something at ->private */
> +/* Top 8 bits are used for page's zone in 2.4-ac and 2.5, don't use them */

s/in 2.4-ac and 2.5//

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Warn about trap for programmer in mm.h
  2002-04-25 10:13 ` Dave Jones
@ 2002-04-25 10:40   ` Pavel Machek
  0 siblings, 0 replies; 5+ messages in thread
From: Pavel Machek @ 2002-04-25 10:40 UTC (permalink / raw)
  To: Dave Jones, Pavel Machek, Rusty trivial patch monkey Russell,
	kernel list

Hi!

>  >  #define PG_private		16	/* Has something at ->private */
>  > +/* Top 8 bits are used for page's zone in 2.4-ac and 2.5, don't use them */
>  >  
> 
> Erm, and 2.4 mainline these days isn't it?

Rusty, its up to you. You can s/2.4-ac and 2.5//, but it is "correct"
in any way ;-).
								Pavel
-- 
Casualities in World Trade Center: ~3k dead inside the building,
cryptography in U.S.A. and free speech in Czech Republic.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Warn about trap for programmer in mm.h
  2002-04-25 10:04 Warn about trap for programmer in mm.h Pavel Machek
  2002-04-25 10:13 ` Dave Jones
  2002-04-25 10:15 ` Christoph Hellwig
@ 2002-04-26  0:37 ` David S. Miller
  2 siblings, 0 replies; 5+ messages in thread
From: David S. Miller @ 2002-04-26  0:37 UTC (permalink / raw)
  To: pavel; +Cc: trivial, linux-kernel

   From: Pavel Machek <pavel@ucw.cz>
   Date: Thu, 25 Apr 2002 12:04:40 +0200
   
   As suggested by A.Morton:
 ...   									Pavel

    #define PG_launder		15	/* written out by VM pressure.. */
   -
    #define PG_private		16	/* Has something at ->private */
   +/* Top 8 bits are used for page's zone in 2.4-ac and 2.5, don't use them */

What does top 8 bites mean on a type whose size
is dependent upon the architecture? :-)

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2002-04-26  0:46 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-04-25 10:04 Warn about trap for programmer in mm.h Pavel Machek
2002-04-25 10:13 ` Dave Jones
2002-04-25 10:40   ` Pavel Machek
2002-04-25 10:15 ` Christoph Hellwig
2002-04-26  0:37 ` David S. Miller

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®