From: David Rientjes <rientjes@google.com>
To: Li Zefan <lizf@cn.fujitsu.com>
Cc: Dave Hansen <dave@linux.vnet.ibm.com>,
Andrew Morton <akpm@linux-foundation.org>,
linux-kernel@vger.kernel.org
Subject: Re: [patch 3/4 -mm] flex_array: poison free elements
Date: Tue, 8 Sep 2009 21:15:39 -0700 (PDT) [thread overview]
Message-ID: <alpine.DEB.1.00.0909082110010.11909@chino.kir.corp.google.com> (raw)
In-Reply-To: <4AA724CB.1070401@cn.fujitsu.com>
On Wed, 9 Sep 2009, Li Zefan wrote:
> > Gack, ftrace_page would probably be better off simply using the flex list
> > implementation I suggested which constructs a list from page->lru since it
> > doesn't appear to require indexing into the array, it simply requires an
> > iteration in all cases (or am I wrong?). Flex lists could easily be made
> > to support seqfiles.
> >
>
> Right, iteration is needed but indexing is not. I thought
> about flex list too, flex array has some limitations which
> make it hard to find a real user.
>
I agree, the cgroup pidarray could be converted into a flex list
implementation as well as ftrace_page, it appears. All the metadata can
be stored by overloading struct page and linking them in a dynamically
expanding list on page->lru.
I'm thinking Andrew will want to see some user of this library in 2.6.32
that cannot be served by a flex list type of implementation if we're to
keep it merged in the kernel.
next prev parent reply other threads:[~2009-09-09 4:15 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-21 23:21 [patch 1/4 -mm] flex_array: convert element_nr formals to unsigned David Rientjes
2009-08-21 23:21 ` [patch 2/4 -mm] flex_array: add flex_array_clear function David Rientjes
2009-08-24 15:41 ` Dave Hansen
2009-08-24 20:29 ` David Rientjes
2009-08-24 20:38 ` Dave Hansen
2009-08-24 20:50 ` David Rientjes
2009-08-24 21:28 ` Dave Hansen
2009-08-24 22:32 ` David Rientjes
2009-08-21 23:21 ` [patch 3/4 -mm] flex_array: poison free elements David Rientjes
2009-08-24 15:56 ` Dave Hansen
2009-08-24 20:41 ` David Rientjes
2009-08-24 21:16 ` Dave Hansen
2009-08-24 22:40 ` David Rientjes
2009-08-24 21:42 ` Dave Hansen
2009-08-24 22:44 ` David Rientjes
2009-09-08 22:26 ` David Rientjes
2009-09-09 2:05 ` Li Zefan
2009-09-09 3:18 ` David Rientjes
2009-09-09 3:31 ` Li Zefan
2009-09-09 3:41 ` David Rientjes
2009-09-09 3:45 ` Li Zefan
2009-09-09 4:15 ` David Rientjes [this message]
2009-09-09 15:28 ` Dave Hansen
2009-09-09 19:18 ` David Rientjes
2009-09-09 19:22 ` Dave Hansen
2009-09-09 19:34 ` David Rientjes
2009-08-21 23:21 ` [patch 4/4 -mm] flex_array: add flex_array_shrink function David Rientjes
2009-08-21 23:49 ` Andrew Morton
2009-08-22 0:02 ` Randy Dunlap
2009-08-22 21:28 ` David Rientjes
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=alpine.DEB.1.00.0909082110010.11909@chino.kir.corp.google.com \
--to=rientjes@google.com \
--cc=akpm@linux-foundation.org \
--cc=dave@linux.vnet.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=lizf@cn.fujitsu.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®