lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAPM31RLnSYKLjUx4ntkxD5TJ2qbQAXX0p9TVBC77OsPHVoP5XQ@mail.gmail.com>
Date:	Sat, 26 Nov 2011 05:07:12 -0800
From:	Paul Turner <pjt@...gle.com>
To:	Li Zefan <lizf@...fujitsu.com>
Cc:	Glauber Costa <glommer@...allels.com>,
	linux-kernel@...r.kernel.org, paul@...lmenage.org,
	daniel.lezcano@...e.fr, a.p.zijlstra@...llo.nl,
	jbottomley@...allels.com, fweisbec@...il.com,
	Balbir Singh <bsingharora@...il.com>
Subject: Re: [PATCH v2 14/14] Change CPUACCT to default n

On Thu, Nov 24, 2011 at 6:05 PM, Li Zefan <lizf@...fujitsu.com> wrote:
>> despite it being a not entirely natural fit.  Something I proposed at
>> Prague and that we could explore here is the idea of a co-mounted
>> controller.  In this example it would only be mountable with cpu so
>> you could always depend on the cpu hierarchy being there; likewise we
>> can put (jump-labeled) touchpoints within the cpu-subsystem to call
>> out for updates as appropriate when the co-mount exists.
>>
>
> IIUC, this co-mounting idea is something I implemented years ago:
>
> https://lkml.org/lkml/2008/6/18/389
>
> The use case and the reason it was rejected:
>
> https://lkml.org/lkml/2008/7/1/97
>

Rejection is a bit of a strong statement -- the idea seemed amenable
but lacking a strong use-case.  That said, taking a deep look at some
of what Glauber is trying to do in this series I don't think it's
something that would help here.

For this discussion the motivation for a co-mount would be to
piggy-back on the cpu sub-systems own hierarchy walks to reduce
overhead.  However, this is not structured in a way that can take
advantage of this, and, looking at what Glauber is attempting to
collect it's not clear that it can be.

I think this moves the discussion towards whether we should consider
deprecating some of the exported fields (namely usage and
usage_per_cpu) from cpuacct instead of the entire controller as we had
initially desired.  This would allow cpuacct to exist with a much
lower overhead, especially within the context-switch path.

- Paul

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ