Re: [PATCH] SMP race in ext2 - metadata corruption.

From: Alexander Viro (viro@math.psu.edu)
Date: Fri May 04 2001 - 13:29:26 EST


On Fri, 4 May 2001, Linus Torvalds wrote:

>
> On Fri, 4 May 2001, Alexander Viro wrote:
> >
> > Ehh... There _is_ a way to deal with that, but it's deeply Albertesque:
                                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^
> > * add pagecache access for block device
> > * put your "real" root on /dev/loop0 (setup from initrd)
> > * dd
>
> You're one sick puppy.

[snip]
/me bows

Nice to see that imitation was good enough ;-) Seriously, I half-expected
Albert to show up at that point of thread and tried to anticipate what
he'd produce.

ObProcfs: I don't think that walking the page tables is a good way to
compute RSS, especially since VM maintains the thing. Mind if I rip
it out? In effect, implementation of /prc/<pid>/statm
        * produces extremely bogus values (VMA is from library if it goes
          beyond 0x60000000? Might be even true 7 years ago...) and nobody
          had cared about them for 6-7 years
        * makes stuff like top(1) _walk_ _whole_ _page_ _tables_ _of_ _all_
          _processes_ each 5 seconds. No wonder it's slow like hell and eats
          tons of CPU time.

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



This archive was generated by hypermail 2b29 : Mon May 07 2001 - 21:00:20 EST