Re: 2.6.33 pagemap endless read loop

From: AmÃrico Wang
Date: Tue Jan 12 2010 - 21:09:13 EST


On Wed, Jan 13, 2010 at 12:28 AM, Andi Kleen <andi@xxxxxxxxxxxxxx> wrote:
>> Hmm, could you please try:
>>
>> Â Â Âtime cat /proc/self/pagemap >/dev/null
>>
>
> I stopped it after a minute of CPU time...
>
> Obviously reading 47bits of zeroes take a long time.
>

Yeah, but this just proves it is not endless, doesn't it? :)

Thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/