Skip to contentSkip to conversation

Please revert 4fd466eb46a6 ("HWPOISON: add memory cgroup filter")

DISCUSSION Tejun Heo 2 participants 4 messages Jan 28, 2014

Subsystems (2)
lore
Share & tools
lore

Tejun Heo

author maintainer
#0 lore raw

Hello, Andi, Wu.

Can you guys please revert 4fd466eb46a6 ("HWPOISON: add memory cgroup filter"), which reaches into cgroup to extract the inode number and uses that for filtering? Nobody outside cgroup proper should be reaching into that. In fact, the hard association between vfs objects and cgroup objects are going away in the upcoming devel cycle. If you want to tag on memcg for filtering, please introduce a proper memcg knob.

Thank you.

Signature · 1 line
tejun
#1 lore raw
Quoted 5 lines · Tejun Heo

Hello, Andi, Wu.

Can you guys please revert 4fd466eb46a6 ("HWPOISON: add memory cgroup filter"), which reaches into cgroup to extract the inode number and uses that for filtering? Nobody outside cgroup proper should be

Our test suite relies on it.

-Andi

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>

author maintainer
#2 lore raw
Quoted 8 lines · Andi Kleen
Quoted 5 lines · Tejun Heo

Hello, Andi, Wu.

Can you guys please revert 4fd466eb46a6 ("HWPOISON: add memory cgroup filter"), which reaches into cgroup to extract the inode number and uses that for filtering? Nobody outside cgroup proper should be

Our test suite relies on it.

Hmmm? Ooh, I thought this just went in during this -rc1 window. This was way back in 2009. I suppose cgroup should expose an interface to query inode then. inos changing across remounts should be okay, right?

Thanks.

Signature · 7 lines
tejun

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to [email protected].  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>