All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@linux-foundation.org>
To: Johannes Weiner <hannes@cmpxchg.org>
Cc: Rusty Russell <rusty@rustcorp.com.au>,
	LKML <linux-kernel@vger.kernel.org>,
	Nick Piggin <npiggin@suse.de>,
	Stewart Smith <stewart@flamingspork.com>,
	linux-mm@kvack.org, linux-arch@vger.kernel.org
Subject: Re: [patch 1/2] mm: fincore()
Date: Fri, 15 Feb 2013 14:34:30 -0800	[thread overview]
Message-ID: <20130215143430.958b78ab.akpm@linux-foundation.org> (raw)
In-Reply-To: <20130215222803.GA23930@cmpxchg.org>

On Fri, 15 Feb 2013 17:28:03 -0500
Johannes Weiner <hannes@cmpxchg.org> wrote:

> > Yes, and there will be immediate calmour to add more goodies to the
> > other seven bits.  PageDirty, referenced state, etc.  We should think
> > about this now, at the design stage rather than grafting things on
> > later.
> 
> I'm interested in your "etc.".  PG_error, PG_active, PG_writeback,
> page huge?

Gawd knows.  How many crazy people are there out there?

If we adopt my use-runlength-encoding suggestion then things get
easier.  We add an extra arg to the syscall which selects which
particular per-page boolean we're looking for and can gather up to 4
billion different PageFoo()s.

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

WARNING: multiple messages have this Message-ID (diff)
From: Andrew Morton <akpm@linux-foundation.org>
To: Johannes Weiner <hannes@cmpxchg.org>
Cc: Rusty Russell <rusty@rustcorp.com.au>,
	LKML <linux-kernel@vger.kernel.org>,
	Nick Piggin <npiggin@suse.de>,
	Stewart Smith <stewart@flamingspork.com>,
	linux-mm@kvack.org, linux-arch@vger.kernel.org
Subject: Re: [patch 1/2] mm: fincore()
Date: Fri, 15 Feb 2013 14:34:30 -0800	[thread overview]
Message-ID: <20130215143430.958b78ab.akpm@linux-foundation.org> (raw)
Message-ID: <20130215223430.Jw-6i66g4ZZH10VccT84SVq2K3GPFI79agB-Qu5Chlc@z> (raw)
In-Reply-To: <20130215222803.GA23930@cmpxchg.org>

On Fri, 15 Feb 2013 17:28:03 -0500
Johannes Weiner <hannes@cmpxchg.org> wrote:

> > Yes, and there will be immediate calmour to add more goodies to the
> > other seven bits.  PageDirty, referenced state, etc.  We should think
> > about this now, at the design stage rather than grafting things on
> > later.
> 
> I'm interested in your "etc.".  PG_error, PG_active, PG_writeback,
> page huge?

Gawd knows.  How many crazy people are there out there?

If we adopt my use-runlength-encoding suggestion then things get
easier.  We add an extra arg to the syscall which selects which
particular per-page boolean we're looking for and can gather up to 4
billion different PageFoo()s.


  reply	other threads:[~2013-02-15 22:34 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-11  3:13 RFC: mincore: add a bit to indicate a page is dirty Rusty Russell
2013-02-11 16:27 ` Johannes Weiner
2013-02-11 22:12   ` Andrew Morton
2013-02-12  5:44     ` Rusty Russell
2013-02-15  6:34     ` [patch 1/2] mm: fincore() Johannes Weiner
2013-02-15  6:34       ` Johannes Weiner
2013-02-15 20:39       ` David Miller
2013-02-15 20:39         ` David Miller
2013-02-15 21:14       ` Andrew Morton
2013-02-15 21:14         ` Andrew Morton
2013-02-15 22:28         ` Johannes Weiner
2013-02-15 22:28           ` Johannes Weiner
2013-02-15 22:34           ` Andrew Morton [this message]
2013-02-15 22:34             ` Andrew Morton
2013-02-15 21:27       ` Andrew Morton
2013-02-15 21:27         ` Andrew Morton
2013-02-15 23:13         ` Johannes Weiner
2013-02-15 23:13           ` Johannes Weiner
2013-02-15 23:42           ` Andrew Morton
2013-02-15 23:42             ` Andrew Morton
2013-02-16  4:23             ` Rusty Russell
2013-02-16  4:23               ` Rusty Russell
2013-02-17 22:51               ` Johannes Weiner
2013-02-17 22:51                 ` Johannes Weiner
2013-02-17 22:54               ` Andrew Morton
2013-02-17 22:54                 ` Andrew Morton
2013-05-29 14:53               ` Andres Freund
2013-05-29 14:53                 ` Andres Freund
2013-05-29 17:32                 ` Johannes Weiner
2013-05-29 17:32                   ` Johannes Weiner
2013-05-29 17:52                   ` Andres Freund
2013-05-29 17:52                     ` Andres Freund
2013-02-18  5:41             ` Rusty Russell
2013-02-18  5:41               ` Rusty Russell
2013-02-19 10:25       ` Simon Jeons
2013-02-19 10:25         ` Simon Jeons
2013-02-15  6:35     ` [patch 2/2] x86-64: hook up fincore() syscall Johannes Weiner
2013-02-15  6:35       ` Johannes Weiner
2013-02-12  5:49   ` RFC: mincore: add a bit to indicate a page is dirty Rusty Russell

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=20130215143430.958b78ab.akpm@linux-foundation.org \
    --to=akpm@linux-foundation.org \
    --cc=hannes@cmpxchg.org \
    --cc=linux-arch@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=npiggin@suse.de \
    --cc=rusty@rustcorp.com.au \
    --cc=stewart@flamingspork.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.