Re: [patch 2/2] Sort module list by pointer address to get coherent sleepable seq_file iterators

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Al Viro <viro@...>
Cc: Mathieu Desnoyers <mathieu.desnoyers@...>, <akpm@...>, <linux-kernel@...>, Randy Dunlap <rddunlap@...>, Martin Bligh <mbligh@...>
Date: Wednesday, August 15, 2007 - 4:36 am

On Wed, Aug 15, 2007 at 07:53:01AM +0100, Al Viro wrote:

So sparse offsets are supported, with some special cares on ->start.

My case is to scan the address space in ranges. The "object" is the
start offset of a range:

__________________#######______________________#############__________
                  ^start                       ^start

Now the solution can be:
        - ->show shows the current range
        - ->next seeks to next range
        - ->start must *also* do the seek

The last requirement is made clear by you, a fact I refused to accept :)
My old concept was that a ->next should be called to move pages
forward after a new start.

-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] Sort module list - use ppos instead of m-&gt;private, Mathieu Desnoyers, (Fri Aug 24, 11:39 am)
Re: [patch 2/2] Sort module list by pointer address to get c..., Fengguang Wu, (Wed Aug 15, 4:36 am)