Re: [PATCH v5 01/14] memory-hotplug: try to offline the memory twice to avoid dependence

2013-02-06 Thread Tang Chen
On 02/06/2013 10:24 PM, Glauber Costa wrote: And one more question, a memory section is 128MB in Linux. If we reserve part of the them for page_cgroup, then anyone who wants to allocate a contiguous memory larger than 128MB, it will fail, right ? Is it OK ? No, it is not. Another take on this:

Re: [PATCH v5 00/45] CPU hotplug: stop_machine()-free CPU hotplug

2013-02-06 Thread Srivatsa S. Bhat
On 02/07/2013 09:44 AM, Rusty Russell wrote: > "Srivatsa S. Bhat" writes: >> On 01/22/2013 01:03 PM, Srivatsa S. Bhat wrote: >> Avg. latency of 1 CPU offline (ms) [stop-cpu/stop-m/c >> latency] >> >> # online CPUsMainline (with stop-m/c) This patchset (no stop-m/c) >> >

Re: [PATCH v5 00/45] CPU hotplug: stop_machine()-free CPU hotplug

2013-02-06 Thread Rusty Russell
"Srivatsa S. Bhat" writes: > On 01/22/2013 01:03 PM, Srivatsa S. Bhat wrote: > Avg. latency of 1 CPU offline (ms) [stop-cpu/stop-m/c > latency] > > # online CPUsMainline (with stop-m/c) This patchset (no stop-m/c) > > 8 17.04

Re: [PATCH 1/4] audit: Syscall rules are not applied to existing processes on non-x86

2013-02-06 Thread Anton Blanchard
Hi, Just following up on this. I've had a few people complaining about audit being broken on ppc64 and it would be nice to fix. Anton -- On Wed, 9 Jan 2013 10:46:17 +1100 Anton Blanchard wrote: > > Commit b05d8447e782 (audit: inline audit_syscall_entry to reduce > burden on archs) changed au

[RFC][PATCH] powerpc: add Book E support to 64-bit hibernation

2013-02-06 Thread Wang Dongsheng
Update the 64-bit hibernation code to support Book E CPUs. Some registers and instructions are not defined for Book3e (SDR reg, tlbia instruction). SDR: Storage Description Register. Book3S and Book3E have different address translation mode, we do not need HTABORG & HTABSIZE to translate virtual ad

Re: [RFC PATCH 1/5] powerpc: Syscall hooks for context tracking subsystem

2013-02-06 Thread Frederic Weisbecker
2013/2/1 Li Zhong : > This is the syscall slow path hooks for context tracking subsystem, > corresponding to > [PATCH] x86: Syscall hooks for userspace RCU extended QS > commit bf5a3c13b939813d28ce26c01425054c740d6731 > > TIF_MEMDIE is moved to the second 16-bits (with value 17), as it seems ther

Re: ethtool occationally fails to communicate with with ucc_geth

2013-02-06 Thread Lennart Sorensen
On Wed, Feb 06, 2013 at 09:08:32PM +, Ben Hutchings wrote: > This seems to be a workaround for a bug in phylib: phy_state_machine() > calls netif_carrier_on() before adjust_link(), so the TX scheduler can > start immediately even though the MAC has not been configured. > > A better workaround

Re: ethtool occationally fails to communicate with with ucc_geth

2013-02-06 Thread Ben Hutchings
On Wed, 2013-02-06 at 15:05 -0500, Lennart Sorensen wrote: > We are occationally seeing ethtool fail to communicate with ucc_geth. > I think I have tracked down why it happens, but I don't see a good way > to fix it. > > When the phy state changes, adjust_link() checks if the state has changed > a

ethtool occationally fails to communicate with with ucc_geth

2013-02-06 Thread Lennart Sorensen
We are occationally seeing ethtool fail to communicate with ucc_geth. I think I have tracked down why it happens, but I don't see a good way to fix it. When the phy state changes, adjust_link() checks if the state has changed and if the link is up. If it is it does: if (new_state

Re: [PATCH v5 01/14] memory-hotplug: try to offline the memory twice to avoid dependence

2013-02-06 Thread Glauber Costa
On 02/06/2013 02:10 PM, Tang Chen wrote: > On 02/06/2013 05:17 PM, Tang Chen wrote: >> Hi all, >> >> On 02/06/2013 11:07 AM, Tang Chen wrote: >>> Hi Glauber, all, >>> >>> An old thing I want to discuss with you. :) >>> >>> On 01/09/2013 11:09 PM, Glauber Costa wrote: >>> memory can't be offline

Re: [PATCH v5 01/14] memory-hotplug: try to offline the memory twice to avoid dependence

2013-02-06 Thread Tang Chen
On 02/06/2013 05:17 PM, Tang Chen wrote: Hi all, On 02/06/2013 11:07 AM, Tang Chen wrote: Hi Glauber, all, An old thing I want to discuss with you. :) On 01/09/2013 11:09 PM, Glauber Costa wrote: memory can't be offlined when CONFIG_MEMCG is selected. For example: there is a memory device on

Re: [PATCH v5 01/14] memory-hotplug: try to offline the memory twice to avoid dependence

2013-02-06 Thread Tang Chen
Hi all, On 02/06/2013 11:07 AM, Tang Chen wrote: Hi Glauber, all, An old thing I want to discuss with you. :) On 01/09/2013 11:09 PM, Glauber Costa wrote: memory can't be offlined when CONFIG_MEMCG is selected. For example: there is a memory device on node 1. The address range is [1G, 1.5G).