[PATCH]RIFS scheduler ready for 3.5.x kernel

2012-08-06 Thread Chen
nelOfTruth on Phoronix).The part I have rewritten is about the tick accounting. Also the scheduler is a strict scheduler(No any special treats, unlike the previous RIFS-ES scheduler). RIFS-ES patch for 3.5 kernel: http://rifs-scheduler.googlecode.com/files/rifs-es-kernel3.5.x

Re: [PATCH]RIFS-V3-Test For 3.4.x kernel.

2012-07-07 Thread Chen
o visually compare latencies with CFS? > > Also, has RIFS got cgroups support? > > 07.07.12 23:58, Chen написав(ла): >> 1. Benchmark: >> [admin@localhost ~]$ latt -c255 sleep 10 >> >> Parameters: min_wait=100ms, max_wait=500ms, cli

Re: [PATCH]RIFS-V3-Test For 3.4.x kernel.

2012-07-08 Thread Chen
which means they cannot even boot without cgroups. Note that :). > > 08.07.12 06:37, Chen написав(ла): >> I haven't made any support for Cgroup yet. After I finished >> translating the scheduler in modular form it will support Cgroup >> naturally since the modular schedule

Re: [PATCH]RIFS-V3-Test For 3.4.x kernel.

2012-07-08 Thread Chen
http://postimage.org/image/70q774n6b/ #COUNT CFS RIFS-V3-Trial 1 9 9 2 92 9 4 2523663 8 8162585 16 16615 1150 32 31846 2147 64 54921 1375 128 90558 1761 -- To unsubscribe from this list: send the line "unsubscribe linux-ker

HI

2016-07-10 Thread chen
Can we discuss business here? its important.

Legitimate !!!

2017-12-23 Thread Chen
Hi linux-kernel@vger.kernel.org , Can work to-gether legally ? . IF YES for more info email ( chen.ya...@yandex.com )

Re: [PATCH v3 0/3] ACPI: container hot remove support.

2012-11-26 Thread Tang Chen
On 11/27/2012 09:08 AM, Hanjun Guo wrote: On 2012/11/26 14:06, Tang Chen wrote: On 11/26/2012 01:42 PM, Hanjun Guo wrote: Hi all, I think Yasuaki mentioned the key point for the container device remove, that is dependency. Currently, container, processor, and memory hotpulg are managed by

Re: [PATCH v2 0/5] Add movablecore_map boot option

2012-11-26 Thread Tang Chen
On 11/27/2012 11:10 AM, wujianguo wrote: On 2012-11-23 18:44, Tang Chen wrote: [What we are doing] This patchset provide a boot option for user to specify ZONE_MOVABLE memory map for each node in the system. movablecore_map=nn[KMG]@ss[KMG] Hi Tang, DMA address can't be s

Re: [PATCH v2 0/5] Add movablecore_map boot option

2012-11-27 Thread Tang Chen
On 11/27/2012 04:00 PM, Bob Liu wrote: Hi Tang, On Fri, Nov 23, 2012 at 6:44 PM, Tang Chen wrote: [What we are doing] This patchset provide a boot option for user to specify ZONE_MOVABLE memory map for each node in the system. movablecore_map=nn[KMG]@ss[KMG] This option make sure memory

Re: [PATCH v2 0/5] Add movablecore_map boot option

2012-11-27 Thread Tang Chen
On 11/27/2012 08:09 PM, Bob Liu wrote: On Tue, Nov 27, 2012 at 4:29 PM, Tang Chen wrote: Hi Liu, This feature is used in memory hotplug. In order to implement a whole node hotplug, we need to make sure the node contains no kernel memory, because memory used by kernel could not be migrated

Re: [PATCH v2 0/5] Add movablecore_map boot option

2012-11-27 Thread Tang Chen
On 11/27/2012 11:10 AM, wujianguo wrote: Hi Tang, DMA address can't be set as movable, if some one boot kernel with movablecore_map=4G@0xa0 or other memory region that contains DMA address, system maybe boot failed. Should this case be handled or mentioned in the change log and kerne

Re: [PATCH v2 0/5] Add movablecore_map boot option

2012-11-27 Thread Tang Chen
ed to do the work in patch 3~5, right ? Thanks. :) On 11/28/2012 12:08 PM, Jiang Liu wrote: On 2012-11-28 11:24, Bob Liu wrote: On Tue, Nov 27, 2012 at 8:49 PM, Tang Chen wrote: On 11/27/2012 08:09 PM, Bob Liu wrote: On Tue, Nov 27, 2012 at 4:29 PM, Tang Chen wrote: Hi Liu, This fea

Re: [PATCH v2 0/5] Add movablecore_map boot option

2012-11-28 Thread Tang Chen
On 11/29/2012 08:43 AM, Jaegeuk Hanse wrote: Hi Tang, I haven't read the patchset yet, but could you give a short describe how you design your implementation in this patchset? Regards, Jaegeuk Hi Jaegeuk, Thanks for your joining in. :) This feature is used in memory hotplug. In order to i

[Suggestion] drivers/tty: drivers/char/: for MAX_ASYNC_BUFFER_SIZE

2012-11-28 Thread Chen Gang
Hello Greg Kroah-Hartman: for MAX_ASYNC_BUFFER_SIZE: it is defined as 4096; but for the max buffer size which it processes, is 65535. so suggest to #define MAX_ASYNC_BUFFER_SIZE 0x1 (better than 0x) I use 3 Step to prove it, please see below: by the way: I find it only through

Re: [Suggestion] drivers/tty: drivers/char/: for MAX_ASYNC_BUFFER_SIZE

2012-11-28 Thread Chen Gang
于 2012年11月29日 13:13, Greg KH 写道: > On Thu, Nov 29, 2012 at 12:40:49PM +0800, Chen Gang wrote: >> Hello Greg Kroah-Hartman: >> >> for MAX_ASYNC_BUFFER_SIZE: >> it is defined as 4096; >> but for the max buffer size which it processes, is 65535. >> so s

Re: [PATCH] MAINTAINERS: TTY - Add linux-serial mailing list

2012-11-28 Thread Chen Gang
S > @@ -7658,6 +7658,7 @@ K: ^Subject:.*(?i)trivial > TTY LAYER > M: Greg Kroah-Hartman > M: Jiri Slaby > +L: linux-ser...@vger.kernel.org > S: Supported > T: git git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git > F: drivers/tty/ > >

Re: [Suggestion] drivers/tty: drivers/char/: for MAX_ASYNC_BUFFER_SIZE

2012-11-29 Thread Chen Gang
于 2012年11月29日 21:41, Alan Cox 写道: > On Thu, 29 Nov 2012 13:07:28 +0800 > Chen Gang wrote: > >> Hello Greg Kroah-Hartman: >> >> for MAX_ASYNC_BUFFER_SIZE: >> it is defined as 4096; >> but for the max buffer size which it processes, is 65535. >>

Re: [Suggestion] drivers/tty: drivers/char/: for MAX_ASYNC_BUFFER_SIZE

2012-11-29 Thread Chen Gang
于 2012年11月30日 02:32, Greg KH 写道: > On Thu, Nov 29, 2012 at 01:57:59PM +0800, Chen Gang wrote: >>> And, I really don't understand here, why do you want to change this? >>> What is it going to change? And why? >>> >> >> Why: >> for

Re: [Suggestion] drivers/tty: drivers/char/: for MAX_ASYNC_BUFFER_SIZE

2012-11-29 Thread Chen Gang
于 2012年11月30日 10:27, Chen Gang 写道: > 于 2012年11月29日 21:41, Alan Cox 写道: >> On Thu, 29 Nov 2012 13:07:28 +0800 >> Chen Gang wrote: >> >>> Hello Greg Kroah-Hartman: >>> >>> for MAX_ASYNC_BUFFER_SIZE: >>> it is defined as 4096; >&

Re: [Suggestion] drivers/tty: drivers/char/: for MAX_ASYNC_BUFFER_SIZE

2012-11-29 Thread Chen Gang
r with it) thanks. -- Chen Gang Asianux Corporation -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [Patch v4 00/12] memory-hotplug: hot-remove physical memory

2012-11-29 Thread Tang Chen
Hi Andrew, On 11/28/2012 03:27 AM, Andrew Morton wrote: - acpi framework https://lkml.org/lkml/2012/10/26/175 What's happening with the acpi framework? has it received any feedback from the ACPI developers? About ACPI framework, we are trying to do the following. The memory device

Re: [Suggestion] drivers/tty: drivers/char/: for MAX_ASYNC_BUFFER_SIZE

2012-11-29 Thread Chen Gang
test and test environments, he is also more expert than me. thanks. -- Chen Gang Asianux Corporation -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/major

Re: [Suggestion] Latest randconfig build errors for CONFIG_MMU=no

2013-03-17 Thread Chen Gang
with ARM, so can not provide more ideas. but at least for me, I think what you said seems valuable. welcome any ARM experts to reply. thanks. :-) -- Chen Gang Asianux Corporation -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of

Re: [PATCH v1 part1 0/9] Introduce movablemem_map boot option.

2013-03-18 Thread Tang Chen
Hi Will, On 03/17/2013 08:25 AM, Will Huck wrote: http://marc.info/?l=linux-mm&m=136014458829566&w=2 It seems that Mel don't like this idea. Thank you for reminding me this. And yes, I have read that email. :) And about this boot option, we have had a long discussion before. Please refer

Re: cpu offline causes backtrace from cmci_rediscover

2013-03-19 Thread Chen Gong
On Tue, Mar 19, 2013 at 06:44:08PM -0400, Dave Jones wrote: > Date: Tue, 19 Mar 2013 18:44:08 -0400 > From: Dave Jones > To: Linux Kernel > Cc: x...@kernel.org > Subject: cpu offline causes backtrace from cmci_rediscover > User-Agent: Mutt/1.5.21 (2010-09-15) > > offlining a CPU in 3.9-rc3 gets

Re: [PATCH V2 02/02] MIPS: Init new mmu_context for each possible CPU to avoid memory corruption

2013-03-19 Thread Chen Jie
2013/3/17 Huacai Chen : > Currently, init_new_context() only for each online CPU, this may cause > memory corruption when CPU hotplug and fork() happens at the same time. > To avoid this, we make init_new_context() cover each possible CPU. > > Scenario: > 1, CPU#1 is being offl

[PATCH] PowerPC:kernel: section mismatch from smp_release_cpus to __initdata spinning_secondaries

2013-03-19 Thread Chen Gang
. - Signed-off-by: Chen Gang --- arch/powerpc/kernel/setup_64.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/powerpc/kernel/setup_64.c b/arch/powerpc/kernel/setup_64.c index 75fbaceb..e8a2f2e 100644 --- a/arch/powerpc/kernel/setup_64.c +++ b/arch/powerpc/kernel

Re: [Suggestion] PowerPC: kernel: cross compiling issue with allmodconfig

2013-03-20 Thread Chen Gang
. maybe no time to do) I should continue: "make additional room in exception vector area". (if get no reply within a week: before 2013-03-28, I should continue) welcome any members' (especially Benjamin) suggestions or completions. thanks. :-) On 2013年03月15日 13:14, Ch

[RESEND PATCH part1 1/9] x86: get pg_data_t's memory from other node

2013-03-21 Thread Tang Chen
fails. Signed-off-by: Yasuaki Ishimatsu Signed-off-by: Lai Jiangshan Signed-off-by: Tang Chen Signed-off-by: Jiang Liu --- arch/x86/mm/numa.c |5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/arch/x86/mm/numa.c b/arch/x86/mm/numa.c index 11acdf6..4f754e6 100644 --- a/arch/x

[RESEND PATCH part1 7/9] x86, mm, numa, acpi: Sanitize zone_movable_limit[].

2013-03-21 Thread Tang Chen
that sanitize_zone_movable_limit() could use it. This is pointed out by Wu Jianguo . Reported-by: Wu Jianguo Signed-off-by: Tang Chen Signed-off-by: Liu Jiang Reviewed-by: Wen Congyang Reviewed-by: Lai Jiangshan Tested-by: Lin Feng --- mm/page_alloc.c | 55

[RFC PATCH part2 0/4] Allow allocating pagetable on local node in movablemem_map.

2013-03-21 Thread Tang Chen
) When hot-removing, we are able to find out these ranges, and free them first. This is very important. Also, hot-add logic needs to be modified, too. As Yinghai mentioned before, I think we can make memblock alive when memory is hot-added. And go with the same logic as it is when booting. How do

[PATCH part2 1/4] x86, mm, numa, acpi: Introduce numa_meminfo_all to store all the numa meminfo.

2013-03-21 Thread Tang Chen
a_meminfo doesn't have the whole memory info. In order to sanitize movablemem_map.map[] after memory mapping initialziation, we need the whole SRAT info. So this patch introduces global variable numa_meminfo_all to store the whole numa memory info. Signed-off-by: Tang Chen --- arch/x86/mm/

[PATCH part2 3/4] x86, mm, numa, acpi: Consider hotplug info when cleanup numa_meminfo.

2013-03-21 Thread Tang Chen
minfo() logic like this: Merge blocks with the same hotpluggable type on the same node, holes between which don't overlap with memory on other nodes. Signed-off-by: Tang Chen --- arch/x86/mm/numa.c | 13 + 1 files changed, 9 insertions(+), 4 deletions(-) diff --git a/arch/x86

[PATCH part2 4/4] x86, mm, numa, acpi: Sanitize movablemem_map after memory mapping initialized.

2013-03-21 Thread Tang Chen
can prevent allocation in movable area but with pagetable and vmemmap pages (used by kernel) in local node. Signed-off-by: Tang Chen --- arch/x86/mm/numa.c | 125 ++ arch/x86/mm/srat.c | 139 ++- 2 files

[PATCH part2 2/4] x86, mm, numa, acpi: Introduce hotplug info into struct numa_meminfo.

2013-03-21 Thread Tang Chen
numa_add_memblk() - numa_add_memblk_to() And the following callers: - numaq_register_node() - dummy_numa_init() - amd_numa_init() - acpi_numa_memory_affinity_init() in x86 Signed-off-by: Tang Chen --- arch/x86/include/asm/numa.h |3 ++- arch/x86/kernel/apic/numaq_32.c |

[RESEND PATCH part1 6/9] x86, mm, numa, acpi: Support getting hotplug info from SRAT.

2013-03-21 Thread Tang Chen
If users don't want to lose NUMA performance, just don't use it. Signed-off-by: Tang Chen --- Documentation/kernel-parameters.txt | 15 +++ arch/x86/mm/srat.c | 74 +-- include/linux/mm.h |2 +

[RESEND PATCH part1 8/9] x86, mm, numa, acpi: make movablemem_map have higher priority

2013-03-21 Thread Tang Chen
If kernelcore or movablecore is specified at the same time with movablemem_map, movablemem_map will have higher priority to be satisfied. This patch will make find_zone_movable_pfns_for_nodes() calculate zone_movable_pfn[] with the limit from zone_movable_limit[]. Signed-off-by: Tang Chen

[RESEND PATCH part1 5/9] x86, mm, numa, acpi: Extend movablemem_map to the end of each node.

2013-03-21 Thread Tang Chen
ing memory * on ZONE_MOVABLE at boot time. * * NOTE: In this case, SRAT info will be ingored. */ Signed-off-by: Tang Chen --- arch/x86/mm/srat.c | 34 ++ 1 files changed, 30 insertions(+), 4 deletions(-) diff --git a/arch/x86/mm/sra

[RESEND PATCH part1 9/9] x86, mm, numa, acpi: Memblock limit with movablemem_map

2013-03-21 Thread Tang Chen
memblock_overlaps_region() is not. So add CONFIG_HAVE_MEMBLOCK_NODE_MAP to protect the use of movablecore_map in memblock_overlaps_region(). Signed-off-by: Tang Chen Reviewed-by: Wen Congyang Reviewed-by: Lai Jiangshan Tested-by: Lin Feng Reported-by: Stephen Rothwell --- include/linux/memblock.h |2

[RESEND PATCH part1 3/9] x86, mm, numa, acpi: Add movable_memmap boot option.

2013-03-21 Thread Tang Chen
: Tang Chen Signed-off-by: Lai Jiangshan Reviewed-by: Wen Congyang Tested-by: Lin Feng --- Documentation/kernel-parameters.txt | 21 ++ include/linux/mm.h | 11 +++ mm/page_alloc.c | 131 +++ 3 files changed, 163

[RESEND PATCH part1 4/9] x86, mm, numa, acpi: Introduce zone_movable_limit[] to store start pfn of ZONE_MOVABLE.

2013-03-21 Thread Tang Chen
is used to store the start pfn of each node's ZONE_MOVABLE. We update it each time we parsed a SRAT memory entry if necessary. Signed-off-by: Tang Chen --- arch/x86/mm/srat.c | 29 + include/linux/mm.h |9 + mm/page_alloc.c|

[RESEND PATCH part1 0/9] Introduce movablemem_map boot option.

2013-03-21 Thread Tang Chen
higher priority to be satisfied. 3) This option has no conflict with memmap option. Tang Chen (8): acpi: Print hotplug info in SRAT. x86, mm, numa, acpi: Add movable_memmap boot option. x86, mm, numa, acpi: Introduce zone_movable_limit[] to store start pfn of ZONE_MOVABLE. x86, mm, numa

[RESEND PATCH part1 2/9] acpi: Print hotplug info in SRAT.

2013-03-21 Thread Tang Chen
The Hot Pluggable field in SRAT points out if the memory could be hotplugged while the system is running. It is useful to print out this info when parsing SRAT. Signed-off-by: Tang Chen --- arch/x86/mm/srat.c |9 ++--- 1 files changed, 6 insertions(+), 3 deletions(-) diff --git a/arch

Fwd: [PATCH] drivers/regulator/twl-*: bettet set NUL after free

2013-02-03 Thread Chen Gang
oh, sorry, not sent to mailing-list, originally. (this patch should send to public kernel mailing list) 原始消息 主题: [PATCH] drivers/regulator/twl-*: bettet set NUL after free 日期: Mon, 04 Feb 2013 10:52:30 +0800 发件人: Chen Gang 收件人: l...@ti.com, broo

Re: [PATCH 3/3] acpi, memory-hotplug: Support getting hotplug info from SRAT.

2013-02-05 Thread Tang Chen
On 02/05/2013 07:26 AM, Andrew Morton wrote: On Fri, 25 Jan 2013 17:42:09 +0800 Tang Chen wrote: We now provide an option for users who don't want to specify physical memory address in kernel commandline. /* * For movablemem_map=acpi: * *

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

2013-02-05 Thread Tang Chen
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). You will find 4 new directories memory8, memory9, m

[PATCH] kernel/events: using uninitialized variable: slots.flexible for arm cross-compiling

2013-02-05 Thread Chen Gang
slots.flexible') ... Signed-off-by: Chen Gang --- kernel/events/hw_breakpoint.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/kernel/events/hw_breakpoint.c b/kernel/events/hw_breakpoint.c index fe8a916..ef69215 100644 --- a/kernel/events/hw_breakpoint.c

Re: [PATCH] kernel/events: using uninitialized variable: slots.flexible for arm cross-compiling

2013-02-06 Thread Chen Gang
oh, sorry, it is my fault, please skip this patch. gchen. 于 2013年02月06日 15:53, Chen Gang 写道: > > for arm cross-compiling, in function __reserve_bp_slot: > > slots.flexible may be used without initializing. > > slots.flexible is not initialized when define it

Re: [PATCH linux-next] x86/mm: Fix compile warning in remove_pagetable()

2013-02-06 Thread Tang Chen
On 02/06/2013 04:27 PM, David Rientjes wrote: On Tue, 5 Feb 2013, Shuah Khan wrote: diff --git a/arch/x86/mm/init_64.c b/arch/x86/mm/init_64.c index 67bad4b..ed78400 100644 --- a/arch/x86/mm/init_64.c +++ b/arch/x86/mm/init_64.c @@ -987,7 +987,7 @@ remove_pud_table(pud_t *pud_start, unsigned lo

[PATCH] kernel: arg2 is unsigned long which is never < 0

2013-02-06 Thread Chen Gang
arg2 will never < 0, for its type is 'unsigned long' so delete the waste code. Signed-off-by: Chen Gang --- kernel/sys.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/kernel/sys.c b/kernel/sys.c index 24d1ef5..568b9ca 100644 --- a/kernel/sys.c

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,

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 d

Re: [PATCH] kernel: arg2 is unsigned long which is never < 0

2013-02-06 Thread Chen Gang
于 2013年02月06日 16:56, Cyrill Gorcunov 写道: > On Wed, Feb 06, 2013 at 04:44:35PM +0800, Chen Gang wrote: >> > >> > diff --git a/kernel/sys.c b/kernel/sys.c >> > index 24d1ef5..568b9ca 100644 >> > --- a/kernel/sys.c >> > +++ b/kernel/sys.c >> >

Re: [PATCH] kernel: arg2 is unsigned long which is never < 0

2013-02-06 Thread Chen Gang
next-* branch), I should send patch v2 for it, too. and excuse me I will 'disappear' during next 7-10 days for Chinese Year (Spring Festival). during these days, welcome any members to send patch v2 instead of me (better to mark Reported-by Cyrill Gorcunov , too) thanks. :-)

Re: [PATCH] kernel: arg2 is unsigned long which is never < 0

2013-02-06 Thread Chen Gang
于 2013年02月06日 23:24, Serge Hallyn 写道: > This really seems like splitting hairs to me. > > Acked-by: Serge E. Hallyn > > on the original patch. > > thanks, > -serge thank you. -- Chen Gang Asianux Corporation -- To unsubscribe from this list: send the line "

Re: [PATCH 3/3] acpi, memory-hotplug: Support getting hotplug info from SRAT.

2013-02-06 Thread Tang Chen
On 02/07/2013 05:54 AM, Andrew Morton wrote: On Wed, 06 Feb 2013 10:20:57 +0800 Tang Chen wrote: + if (!strncmp(p, "acpi", max(4, strlen(p + movablemem_map.acpi = true; Generates a warning: mm/page_alloc.c: In function 'cmdline_parse_mova

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] drivers/block/drbd: remove erroneous semicolon

2013-04-03 Thread Chen Gang
Hello maintainers: when you have time, please help to check this patch whether is OK. thanks. gchen. On 2013年03月27日 14:56, Chen Gang wrote: > > need remove it, or always return -EBUSY. > it is found by compiler with 'EXTRA_CFLAG=-W'. > > Signed-off-by: Ch

Re: [PATCH] drivers/gpu/drm/nouveau: remove erroneous semicolon

2013-04-03 Thread Chen Gang
Hello maintainers: when you have time, please help to check this patch whether is OK. thanks. gchen. On 2013年03月27日 15:23, Chen Gang wrote: > > need remove semicolon, or always return true. > > Signed-off-by: Chen Gang > --- > drivers/gpu/drm/nouveau/nv50_displa

Re: [Suggestion] ARM64:kernel: compiling issue for early_console.

2013-04-03 Thread Chen Gang
Hello Maintainers: it seems, this issue still exists in next-20130402. have you already fixed it in another tree ? if really no one fix it within this week, I should try (since I find it). thanks. gchen. On 2013年03月27日 20:02, Chen Gang wrote: > On 2013年03月27日 19:55, Catalin Mari

[PATCH] reboot: call syscore_shutdown() after disable_nonboot_cpus()

2013-04-03 Thread Huacai Chen
. This patch call syscore_shutdown() a little later (after disable_nonboot_cpus()) to avoid reboot failure. Signed-off-by: Huacai Chen Cc: --- kernel/sys.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/kernel/sys.c b/kernel/sys.c index b0003db..f879033dd 100644 --- a

Re: [Suggestion] ARM64:kernel: compiling issue for early_console.

2013-04-03 Thread Chen Gang
no one fix it within this week, I should try (since I find it). > I'm sure a fix would be appreciated. > ok, thanks. I prefer to wait (at least for the end of Catalin's vacation). >> > On 2013年03月27日 20:02, Chen Gang wrote: >>> >> On 2013年03月27日 19:55, C

[PATCH 01/11] x86: get pg_data_t's memory from other node

2013-04-05 Thread Tang Chen
fails. Signed-off-by: Yasuaki Ishimatsu Signed-off-by: Lai Jiangshan Signed-off-by: Tang Chen Signed-off-by: Jiang Liu --- arch/x86/mm/numa.c |5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/arch/x86/mm/numa.c b/arch/x86/mm/numa.c index 11acdf6..4f754e6 100644 --- a/arch/x

[PATCH 02/11] acpi: Print hotplug info in SRAT.

2013-04-05 Thread Tang Chen
The Hot Pluggable field in SRAT points out if the memory could be hotplugged while the system is running. It is useful to print out this info when parsing SRAT. Signed-off-by: Tang Chen --- arch/x86/mm/srat.c |9 ++--- 1 files changed, 6 insertions(+), 3 deletions(-) diff --git a/arch

[PATCH 09/11] x86, numa, acpi, memory-hotplug: Sanitize zone_movable_limit[].

2013-04-05 Thread Tang Chen
that sanitize_zone_movable_limit() could use it. This is pointed out by Wu Jianguo . Reported-by: Wu Jianguo Signed-off-by: Tang Chen Signed-off-by: Liu Jiang Reviewed-by: Wen Congyang Reviewed-by: Lai Jiangshan Tested-by: Lin Feng --- mm/page_alloc.c | 54

[PATCH 10/11] x86, numa, acpi, memory-hotplug: make movablemem_map have higher priority

2013-04-05 Thread Tang Chen
If kernelcore or movablecore is specified at the same time with movablemem_map, movablemem_map will have higher priority to be satisfied. This patch will make find_zone_movable_pfns_for_nodes() calculate zone_movable_pfn[] with the limit from zone_movable_limit[]. Signed-off-by: Tang Chen

[PATCH 00/11] Introduce movablemem_map=acpi boot option.

2013-04-05 Thread Tang Chen
ecore is also specified, movablecore_map will have higher priority to be satisfied. 3) This option has no conflict with memmap option. Tane Chen (10): acpi: Print hotplug info in SRAT. numa, acpi, memory-hotplug: Add movablemem_map=acpi boot option. x86, numa, acpi, memory-hot

[PATCH 07/11] x86, numa, acpi, memory-hotplug: Make any node which the kernel resides in un-hotpluggable.

2013-04-05 Thread Tang Chen
vable. So we always set the nodes which the kernel resides in as non-movable. Signed-off-by: Tang Chen --- arch/x86/mm/numa.c | 25 +++-- arch/x86/mm/srat.c | 17 - include/linux/mm.h |1 + 3 files changed, 36 insertions(+), 7 deletions(-) diff --git a

[PATCH 08/11] x86, numa, acpi, memory-hotplug: Introduce zone_movable_limit[] to store start pfn of ZONE_MOVABLE.

2013-04-05 Thread Tang Chen
is used to store the start pfn of each node's ZONE_MOVABLE. We update it each time we parsed a SRAT memory entry if necessary. Signed-off-by: Tang Chen --- arch/x86/mm/numa.c | 16 ++-- include/linux/mm.h |2 ++ mm/page_alloc.c|1 + 3 files changed, 17 insertions(

[PATCH 11/11] x86, numa, acpi, memory-hotplug: Memblock limit with movablemem_map

2013-04-05 Thread Tang Chen
memblock_overlaps_region() is not. So add CONFIG_HAVE_MEMBLOCK_NODE_MAP to protect the use of movablecore_map in memblock_overlaps_region(). Signed-off-by: Tang Chen Reviewed-by: Wen Congyang Reviewed-by: Lai Jiangshan Tested-by: Lin Feng Reported-by: Stephen Rothwell --- include/linux/memblock.h |2

[PATCH 04/11] x86, numa, acpi, memory-hotplug: Introduce hotplug info into struct numa_meminfo.

2013-04-05 Thread Tang Chen
numa_add_memblk() - numa_add_memblk_to() And the following callers: - numaq_register_node() - dummy_numa_init() - amd_numa_init() - acpi_numa_memory_affinity_init() in x86 Signed-off-by: Tang Chen --- arch/x86/include/asm/numa.h |3 ++- arch/x86/kernel/apic/numaq_32.c |

[PATCH 05/11] x86, numa, acpi, memory-hotplug: Consider hotplug info when cleanup numa_meminfo.

2013-04-05 Thread Tang Chen
minfo() logic like this: Merge blocks with the same hotpluggable type on the same node, holes between which don't overlap with memory on other nodes. Signed-off-by: Tang Chen --- arch/x86/mm/numa.c | 13 + 1 files changed, 9 insertions(+), 4 deletions(-) diff --git a/arch/x86

[PATCH 06/11] X86, numa, acpi, memory-hotplug: Add hotpluggable ranges to movablemem_map.

2013-04-05 Thread Tang Chen
When parsing SRAT, we are able to know which memory ranges are hotpluggable, and we add them to movablemem_map. So movablemem_map could be used to prevent memblock from allocating memory in area which will be set as ZONE_MOVABLE later. Signed-off-by: Tang Chen --- arch/x86/mm/numa.c | 39

[PATCH 03/11] numa, acpi, memory-hotplug: Add movablemem_map=acpi boot option.

2013-04-05 Thread Tang Chen
. Signed-off-by: Tang Chen Signed-off-by: Lai Jiangshan Reviewed-by: Wen Congyang Tested-by: Lin Feng --- Documentation/kernel-parameters.txt | 11 +++ include/linux/mm.h | 12 mm/page_alloc.c | 35 +++ 3

Re: [PATCH] Staging: Android: looping issue, need break when get value firstly.

2013-04-05 Thread Chen Gang
On 2013年04月06日 07:48, Arve Hjønnevåg wrote: > On Fri, Apr 5, 2013 at 3:01 PM, Greg KH wrote: >> > On Fri, Apr 05, 2013 at 04:05:25PM +0800, Chen Gang wrote: >>> >> >>> >> need break when 'target_thread' get value, firstly. >>&

Re: [PATCH] Staging: Android: looping issue, need break when get value firstly.

2013-04-05 Thread Chen Gang
On 2013年04月06日 06:01, Greg KH wrote: > On Fri, Apr 05, 2013 at 04:05:25PM +0800, Chen Gang wrote: >> >> need break when 'target_thread' get value, firstly. >> >> 'tmp' is a stack (thread->transaction_stack), >> if 'proc'

Re: [PATCH] Staging: Android: looping issue, need break when get value firstly.

2013-04-05 Thread Chen Gang
On 2013年04月06日 13:05, Chen Gang wrote: > On 2013年04月06日 07:48, Arve Hjønnevåg wrote: >> Theoretically this should not change the behavior. The purpose of this >> code it to make sure only thread per process is part of a transaction >> stack, so if it finds more than one transa

Re: [PATCH] Staging: Android: looping issue, need break when get value firstly.

2013-04-06 Thread Chen Gang
On 2013年04月06日 13:57, Greg KH wrote: > On Sat, Apr 06, 2013 at 01:05:59PM +0800, Chen Gang wrote: >> > On 2013年04月06日 07:48, Arve Hjønnevåg wrote: >>> > > On Fri, Apr 5, 2013 at 3:01 PM, Greg KH >>> > > wrote: >>>>> > &g

Re: [PATCH]sched/rt: Do not try to push tasks if pinned task switches to RT

2013-01-29 Thread Libo Chen
From: Libo Chen On 2013-1-29 4:23, Kirill Tkhai wrote: > Just switched pinned task is not able to be pushed. If the rq had had > several RT tasks before they have already been considered as candidates > to be pushed (or pulled). > > Signed-off-by: Kirill V Tkhai > CC: St

Re: [PATCH v6 08/15] memory-hotplug: Common APIs to support page tables hot-remove

2013-01-29 Thread Tang Chen
On 01/29/2013 09:04 PM, Simon Jeons wrote: Hi Tang, On Wed, 2013-01-09 at 17:32 +0800, Tang Chen wrote: From: Wen Congyang When memory is removed, the corresponding pagetables should alse be removed. This patch introduces some common APIs to support vmemmap pagetable and x86_64 architecture

Re: [PATCH v6 00/15] memory-hotplug: hot-remove physical memory

2013-01-29 Thread Tang Chen
On 01/29/2013 08:52 PM, Simon Jeons wrote: Hi Tang, On Wed, 2013-01-09 at 17:32 +0800, Tang Chen wrote: Here is the physical memory hot-remove patch-set based on 3.8rc-2. Hi Simon, I'll summarize all the info and answer you later. :) Thanks for asking. :) Some questions ask you, no

Re: [PATCH v6 00/15] memory-hotplug: hot-remove physical memory

2013-01-29 Thread Tang Chen
On 01/30/2013 10:48 AM, Simon Jeons wrote: On Wed, 2013-01-30 at 10:32 +0800, Tang Chen wrote: On 01/29/2013 08:52 PM, Simon Jeons wrote: Hi Tang, On Wed, 2013-01-09 at 17:32 +0800, Tang Chen wrote: Here is the physical memory hot-remove patch-set based on 3.8rc-2. Hi Simon, I&#x

Re: [PATCH v6 08/15] memory-hotplug: Common APIs to support page tables hot-remove

2013-01-29 Thread Tang Chen
On 01/30/2013 11:27 AM, Simon Jeons wrote: On Wed, 2013-01-30 at 10:16 +0800, Tang Chen wrote: On 01/29/2013 09:04 PM, Simon Jeons wrote: Hi Tang, On Wed, 2013-01-09 at 17:32 +0800, Tang Chen wrote: From: Wen Congyang When memory is removed, the corresponding pagetables should alse be

[PATCH V9 00/13] MIPS: Add Loongson-3 based machines support

2013-01-29 Thread Huacai Chen
tes since CONFIG_HOTPLUG is going away as an option. 3, Use dev_info() to print messages in fixup-loongson3.c. 4, Update the default config file. 5, Sync the code to upstream. Huacai Chen(13): MIPS: Loongson: Add basic Loongson-3 definition. MIPS: Loongson: Add basic Loongson-3 CPU support.

[PATCH V9 01/13] MIPS: Loongson: Add basic Loongson-3 definition

2013-01-29 Thread Huacai Chen
on-3A(including so-called Loongson-2Gq), they are 64-bit multi-core MIPS CPUs. Signed-off-by: Huacai Chen Signed-off-by: Hongliang Tao Signed-off-by: Hua Yan --- arch/mips/include/asm/addrspace.h|6 ++ arch/mips/include/asm/cpu.h |5 +++--

[PATCH V9 02/13] MIPS: Loongson: Add basic Loongson-3 CPU support

2013-01-29 Thread Huacai Chen
Basic Loongson-3 CPU support include CPU probing and TLB/cache initializing. Signed-off-by: Huacai Chen Signed-off-by: Hongliang Tao Signed-off-by: Hua Yan --- arch/mips/kernel/cpu-probe.c | 14 +++--- arch/mips/mm/c-r4k.c | 62 +- arch

[PATCH V9 03/13] MIPS: Loongson: Introduce and use cpu_has_coherent_cache feature

2013-01-29 Thread Huacai Chen
Loongson-3 maintains cache coherency by hardware. So we introduce a cpu feature named cpu_has_coherent_cache and use it to modify MIPS's cache flushing functions. Signed-off-by: Huacai Chen Signed-off-by: Hongliang Tao Signed-off-by: Hua Yan --- arch/mips/include/asm/cachefl

[PATCH V9 04/13] MIPS: Loongson 3: Add Lemote-3A machtypes definition

2013-01-29 Thread Huacai Chen
uacai Chen Signed-off-by: Hongliang Tao Signed-off-by: Hua Yan --- arch/mips/include/asm/bootinfo.h | 24 +++- arch/mips/include/asm/mach-loongson/machine.h |6 ++ arch/mips/loongson/common/machtype.c | 20 3 files change

[PATCH V9 05/13] MIPS: Loongson: Add UEFI-like firmware interface support

2013-01-29 Thread Huacai Chen
except 2E/2F series. Signed-off-by: Huacai Chen Signed-off-by: Hongliang Tao Signed-off-by: Hua Yan --- arch/mips/include/asm/mach-loongson/boot_param.h | 151 ++ arch/mips/include/asm/mach-loongson/loongson.h |4 +- arch/mips/loongson/common/env.c

[PATCH V9 07/13] MIPS: Loongson 3: Add IRQ init and dispatch support

2013-01-29 Thread Huacai Chen
ion registers of HT1 controller. Signed-off-by: Huacai Chen Signed-off-by: Hongliang Tao Signed-off-by: Hua Yan --- arch/mips/include/asm/mach-loongson/irq.h | 24 +++ arch/mips/include/asm/mach-loongson/loongson.h |9 +++ arch/mips/loongson/Makefile|6 ++

[PATCH V9 08/13] MIPS: Loongson 3: Add serial port support

2013-01-29 Thread Huacai Chen
UARTs: CPU UART: REG_BASE + OFFSET; LPC UART: LIO1_BASE + OFFSET; PCI UART: PCIIO_BASE + OFFSET. Since LPC UART are linked in "Local Bus", both CPU UART and LPC UART are called "CPU provided serial port". Signed-off-by: Huacai Chen Signed-off-by: Hongliang Tao Signed-off-by: Hua

[PATCH V9 09/13] MIPS: Loongson: Add swiotlb to support big memory (>4GB)

2013-01-29 Thread Huacai Chen
ide a platform-specific dma_map_ops::set_dma_mask() to make sure each driver's dma_mask and coherent_dma_mask is below 32-bit. Signed-off-by: Huacai Chen Signed-off-by: Hongliang Tao Signed-off-by: Hua Yan --- arch/mips/include/asm/dma-mapping.h|5 + .../mips/include/asm/mac

[PATCH V9 10/13] MIPS: Loongson: Add Loongson-3 Kconfig options

2013-01-29 Thread Huacai Chen
Added Kconfig options include: Loongson-3 CPU and machine definition, CPU cache features, UEFI-like firmware interface, HT-linked PCI, and big memory support. Signed-off-by: Huacai Chen Signed-off-by: Hongliang Tao Signed-off-by: Hua Yan --- arch/mips/Kconfig | 28

[PATCH V9 11/13] MIPS: Loongson 3: Add Loongson-3 SMP support

2013-01-29 Thread Huacai Chen
this patch we make changes to avoid boot failure. Signed-off-by: Huacai Chen Signed-off-by: Hongliang Tao Signed-off-by: Hua Yan --- arch/mips/loongson/common/init.c |5 + arch/mips/loongson/common/setup.c |8 +- arch/mips/loongson/loongson-3/Makefile |2 + arch

[PATCH V9 06/13] MIPS: Loongson 3: Add HT-linked PCI support

2013-01-29 Thread Huacai Chen
Loongson family machines use Hyper-Transport bus for inter-core connection and device connection. The PCI bus is a subordinate linked at HT1. With UEFI-like firmware interface, We don't need fixup for PCI irq routing. Signed-off-by: Huacai Chen Signed-off-by: Hongliang Tao Signed-off-by

[PATCH V9 12/13] MIPS: Loongson 3: Add CPU hotplug support

2013-01-29 Thread Huacai Chen
-off-by: Huacai Chen Signed-off-by: Hongliang Tao Signed-off-by: Hua Yan --- arch/mips/Kconfig |1 + arch/mips/include/asm/mach-loongson/loongson.h |6 +- arch/mips/include/asm/smp.h|1 + arch/mips/loongson/loongson-3/irq.c

[PATCH V9 13/13] MIPS: Loongson: Add a Loongson-3 default config file

2013-01-29 Thread Huacai Chen
Signed-off-by: Huacai Chen Signed-off-by: Hongliang Tao Signed-off-by: Hua Yan --- arch/mips/configs/loongson3_defconfig | 330 + 1 files changed, 330 insertions(+), 0 deletions(-) create mode 100644 arch/mips/configs/loongson3_defconfig diff --git a/arch

[PATCH Bug fix] acpi, movablemem_map: node0 should always be unhotpluggable when using SRAT.

2013-01-29 Thread Tang Chen
n can be used as a workaround of firmware bugs. Reported-by: H. Peter Anvin Signed-off-by: Tang Chen --- Documentation/kernel-parameters.txt |6 ++ arch/x86/mm/srat.c | 10 -- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/Documentation/k

Re: [PATCH Bug fix] acpi, movablemem_map: node0 should always be unhotpluggable when using SRAT.

2013-01-30 Thread Tang Chen
On 01/30/2013 04:50 PM, David Rientjes wrote: On Wed, 30 Jan 2013, Tang Chen wrote: When using movablemem_map=acpi, always set node0 as unhotpluggable, otherwise if all the memory is hotpluggable, the kernel will fail to boot. When using movablemem_map=nn[KMG]@ss[KMG], we don't stop

Re: [PATCH v6 00/15] memory-hotplug: hot-remove physical memory

2013-01-30 Thread Tang Chen
Hi Simon, Please see below. :) On 01/29/2013 08:52 PM, Simon Jeons wrote: Hi Tang, On Wed, 2013-01-09 at 17:32 +0800, Tang Chen wrote: Here is the physical memory hot-remove patch-set based on 3.8rc-2. Some questions ask you, not has relationship with this patchset, but is memory hotplug

  1   2   3   4   5   6   7   8   9   10   >