[Devel] Re: [dm-devel] [PATCH 0/5] bio-cgroup: Introduction
Hirokazu Takahashi
taka at valinux.co.jp
Fri Sep 19 05:02:42 PDT 2008
Hi,
> Hi everyone,
>
> Here are new releases of bio-cgroup.
> Changes from the previous version are as follows:
>
> - Accurate dirty-page tracking
> Support migrating pages between bio-cgroups with minimum overhead,
I'm the one implementing this code.
The implementation isn't finished yet that this this code can't handle
mmapped file pages correctly. Actually, the same problem goes with
the task I/O accounting mechanism since the two of them are using
the same hook
This happens when starting to free pages under memory pressure.
Dirty bit of a pte will be moved into PG_Dirty flag of the associated
page. This can be done in another process context, while the hook try
to charge this operation to the current process.
> but I think such a situation is quite rare.
I implemented it though, I don't think this case often happens since
it's not normal that several processes try to write the same block
of a file.
Thanks,
Hirokazu Takahashi.
_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers
More information about the Devel
mailing list