Prepare for killing free_all_bootmem_node() by using
free_all_bootmem().
Signed-off-by: Jiang Liu
Cc: Hirokazu Takata
Cc: linux-m...@ml.linux-m32r.org
Cc: linux-m32r...@ml.linux-m32r.org
Cc: linux-kernel@vger.kernel.org
---
arch/m32r/mm/init.c | 17 -
1 file changed, 4
Prepare for killing free_all_bootmem_node() by using
free_all_bootmem() instead.
Signed-off-by: Jiang Liu
Cc: Haavard Skinnemoen
Cc: Hans-Christian Egtvedt
Cc: linux-kernel@vger.kernel.org
---
arch/avr32/mm/init.c | 21 +
1 file changed, 5 insertions(+), 16 deletions(-)
Fix build warning of unused variable:
arch/m68k/mm/init.c: In function 'mem_init':
arch/m68k/mm/init.c:151:6: warning: unused variable 'i' [-Wunused-variable]
Signed-off-by: Jiang Liu
Cc: Geert Uytterhoeven
Cc: Greg Ungerer
Cc: Thadeu Lima de Souza Cascardo
Cc: linux-m...@lists.linux-m68k.org
Prepare for killing free_all_bootmem_node() by using
free_all_bootmem().
Signed-off-by: Jiang Liu
Cc: Benjamin Herrenschmidt
Cc: Paul Mackerras
Cc: Alexander Graf
Cc: "Suzuki K. Poulose"
Cc: linuxppc-...@lists.ozlabs.org
Cc: linux-kernel@vger.kernel.org
---
arch/powerpc/mm/mem.c | 16
Prepare for killing free_all_bootmem_node() by using
free_all_bootmem().
Signed-off-by: Jiang Liu
Cc: Paul Mundt
Cc: Wen Congyang
Cc: Tang Chen
Cc: linux...@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
---
arch/sh/mm/init.c | 16
1 file changed, 4 insertions(+), 12
Now nobody makes use of free_all_bootmem_node(), kill it.
Signed-off-by: Jiang Liu
Cc: Andrew Morton
Cc: Johannes Weiner
Cc: "David S. Miller"
Cc: Yinghai Lu
Cc: Tejun Heo
Cc: linux-kernel@vger.kernel.org
Cc: linux...@kvack.org
---
include/linux/bootmem.h | 1 -
mm/bootmem.c|
Prepare for killing free_all_bootmem_node() by using
free_all_bootmem().
Signed-off-by: Jiang Liu
Cc: "James E.J. Bottomley"
Cc: Helge Deller
Cc: Michal Hocko
Cc: David Rientjes
Cc: linux-par...@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
---
arch/parisc/mm/init.c | 12 +---
1
Prepare for killing free_all_bootmem_node() by using
free_all_bootmem().
Signed-off-by: Jiang Liu
Cc: Geert Uytterhoeven
Cc: Greg Ungerer
Cc: linux-m...@lists.linux-m68k.org
Cc: linux-kernel@vger.kernel.org
---
arch/m68k/mm/init.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff
task_struct->pid/tgid should go away.
1. Change same_thread_group() to use task->signal for comparison.
2. Change has_group_leader_pid(task) to compare task_pid(task) with
signal->leader_pid.
Signed-off-by: Oleg Nesterov
---
include/linux/sched.h |8
1 files changed, 4
Hi Thierry,
On Sunday 26 May 2013 11:18:24 Thierry Reding wrote:
> On Sat, May 25, 2013 at 03:42:42PM +0200, Laurent Pinchart wrote:
> > On Thursday 23 May 2013 21:12:17 Thierry Reding wrote:
> > > On Thu, May 23, 2013 at 10:39:34AM +0900, Simon Horman wrote:
> > > > On Mon, May 20, 2013 at
Hi Eliezer,
(If I'm too late then a future note...)
Why make polling a system-wide configuration?
Wouldn't it make more sense to implement a sock option?
An even better solution might be aggregation/combination of both types
of configurations.
-- Yaniv Sa'ar
On Wed, May 29, 2013 at 5:14 PM, Or
Quoting Stephen Mell (sub.atomic.fus...@gmail.com):
> From: Stephen Mell
>
> Currently, it is nearly impossible to give a capability to a non-root
> user that will stick around after the first execve.
By design capabilities are re-calculated upon every execve. The point
here is that you're not
On 05/29/2013 07:59 PM, Catalin Marinas wrote:
> On Wed, May 29, 2013 at 03:08:37PM +0100, Vineet Gupta wrote:
>> On 05/29/2013 07:33 PM, Catalin Marinas wrote:
>>> On Wed, May 29, 2013 at 01:56:13PM +0100, Vineet Gupta wrote:
zap_pte_range loops from @addr to @end. In the middle, if it runs
On Wed, May 29, 2013 at 03:08:37PM +0100, Vineet Gupta wrote:
> On 05/29/2013 07:33 PM, Catalin Marinas wrote:
> > On Wed, May 29, 2013 at 01:56:13PM +0100, Vineet Gupta wrote:
> >> zap_pte_range loops from @addr to @end. In the middle, if it runs out of
> >> batching slots, TLB entries needs to
On Tue, 28 May 2013, Julius Werner wrote:
> The policy we want to achieve is to disable runtime PM iff there is a
> device connected that doesn't have persist_enabled or a reset_resume()
> handler and whose parent/root hub resets on resume, right? So couldn't
Probably just root hub, not parent.
On Wed, 10 Apr 2013, Srinivas Pandruvada wrote:
> I don't know if this should be fixed in client drivers since other drivers may
> have this issue.
Agreed.
Srinivas, how about the patch below, could you please test it in your
scenario to see whether it actually fixes the issue?
Thanks.
diff
On Wed, May 29, 2013 at 9:39 AM, Eliezer Tamir
wrote:
> Adds a new ndo_ll_poll method and the code that supports and uses it.
> This method can be used by low latency applications to busy poll Ethernet
> device queues directly from the socket code. The value of sysctl_net_ll_poll
> controls how
Generate mandatory global variables _sdata in file vmlinux.lds.
Signed-off-by: Jiang Liu
Cc: Chen Liqin
Cc: Lennox Wu
Cc: linux-kernel@vger.kernel.org
---
arch/score/kernel/vmlinux.lds.S | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/score/kernel/vmlinux.lds.S
The global variable num_physpages is scheduled to be removed, so use
totalram_pages instead of num_physpages at runtime.
Signed-off-by: Jiang Liu
Cc: Miklos Szeredi
Cc: "David S. Miller"
Cc: Alexey Kuznetsov
Cc: James Morris
Cc: Hideaki YOSHIFUJI
Cc: Patrick McHardy
Cc:
On 05/29/2013 07:33 PM, Catalin Marinas wrote:
> On Wed, May 29, 2013 at 01:56:13PM +0100, Vineet Gupta wrote:
>> zap_pte_range loops from @addr to @end. In the middle, if it runs out of
>> batching slots, TLB entries needs to be flushed for @start to @interim,
>> NOT @interim to @end.
>>
>> Since
Prepare for removing num_physpages and simplify mem_init().
Signed-off-by: Jiang Liu
Cc: Mark Salter
Cc: Aurelien Jacquiot
Cc: linux-c6x-...@linux-c6x.org
Cc: linux-kernel@vger.kernel.org
---
arch/c6x/mm/init.c | 11 +--
1 file changed, 1 insertion(+), 10 deletions(-)
diff --git
Prepare for removing num_physpages and simplify mem_init().
Signed-off-by: Jiang Liu
Cc: Russell King
Cc: Catalin Marinas
Cc: Will Deacon
Cc: linux-arm-ker...@lists.infradead.org
Cc: linux-kernel@vger.kernel.org
---
arch/arm64/mm/init.c | 48 +++-
Prepare for removing num_physpages and simplify mem_init().
Signed-off-by: Jiang Liu
Acked-by: Jesper Nilsson
Cc: Mikael Starvik
Cc: linux-cris-ker...@axis.com
Cc: linux-kernel@vger.kernel.org
---
arch/cris/mm/init.c | 33 ++---
1 file changed, 2 insertions(+), 31
Prepare for removing num_physpages and simplify mem_init().
Signed-off-by: Jiang Liu
Cc: Tony Luck
Cc: Fenghua Yu
Cc: Andrew Morton
Cc: Zhang Yanfei
Cc: linux-i...@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
---
arch/ia64/mm/contig.c| 11 ---
arch/ia64/mm/discontig.c | 3
Prepare for removing num_physpages and simplify mem_init().
Signed-off-by: Jiang Liu
Cc: Yoshinori Sato
Cc: Geert Uytterhoeven
Cc: linux-kernel@vger.kernel.org
---
arch/h8300/mm/init.c | 36
1 file changed, 8 insertions(+), 28 deletions(-)
diff --git
On 05/29/2013 01:43 PM, Roger Quadros wrote:
> As the USB PHY drivers no longer depend on USB_PHY but
> select it if needed, the controller drivers need not
> depend on USB_PHY. They can safely select the necessary
> PHY driver i.e. USB_ISP1301 in this case.
>
> Signed-off-by: Roger Quadros
Prepare for removing num_physpages and simplify mem_init().
Signed-off-by: Jiang Liu
Acked-by: Greg Ungerer
Cc: Geert Uytterhoeven
Cc: linux-m...@lists.linux-m68k.org
Cc: linux-kernel@vger.kernel.org
---
arch/m68k/mm/init.c | 31 ++-
1 file changed, 2
Prepare for removing num_physpages and simplify mem_init().
Signed-off-by: Jiang Liu
---
arch/metag/mm/init.c | 8 +---
1 file changed, 1 insertion(+), 7 deletions(-)
diff --git a/arch/metag/mm/init.c b/arch/metag/mm/init.c
index ce81d7c..e0862b7 100644
--- a/arch/metag/mm/init.c
+++
Prepare for removing num_physpages and simplify mem_init().
Signed-off-by: Jiang Liu
Cc: "James E.J. Bottomley"
Cc: Helge Deller
Cc: Thomas Gleixner
Cc: Michal Hocko
Cc: David Rientjes
Cc: linux-par...@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
---
arch/parisc/mm/init.c | 47
Prepare for removing num_physpages and simplify mem_init().
Signed-off-by: Jiang Liu
Acked-by: Jonas Bonn
Cc: David Howells
Cc: Arnd Bergmann
Cc: li...@lists.openrisc.net
Cc: linux-kernel@vger.kernel.org
---
arch/openrisc/mm/init.c | 44
1 file
Prepare for removing num_physpages and simplify mem_init().
Signed-off-by: Jiang Liu
Cc: Michal Simek
Cc: microblaze-ucli...@itee.uq.edu.au
Cc: linux-kernel@vger.kernel.org
---
arch/microblaze/mm/init.c | 51 ++-
1 file changed, 6 insertions(+), 45
Prepare for removing num_physpages and simplify mem_init().
Signed-off-by: Jiang Liu
Acked-by: Hans-Christian Egtvedt
Cc: Haavard Skinnemoen
Cc: linux-kernel@vger.kernel.org
---
arch/avr32/mm/init.c | 29 -
1 file changed, 4 insertions(+), 25 deletions(-)
diff
Prepare for removing num_physpages and simplify mem_init().
Signed-off-by: Jiang Liu
Cc: Richard Henderson
Cc: Ivan Kokshaysky
Cc: Matt Turner
Cc: David Howells
Cc: linux-al...@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
---
arch/alpha/mm/init.c | 32 ++--
Prepare for removing num_physpages and simplify mem_init().
Signed-off-by: Jiang Liu
Cc: Mike Frysinger
Cc: Bob Liu
Cc: uclinux-dist-de...@blackfin.uclinux.org
Cc: linux-kernel@vger.kernel.org
---
arch/blackfin/mm/init.c | 38 ++
1 file changed, 6
Introduce helper function mem_init_print_info() to simplify mem_init()
across different architectures, which also unifies the format and
information printed.
Function mem_init_print_info() calculates memory statistics information
without walking each page, so it should be a little faster on some
Normalize global variables exported by vmlinux.lds to conform usage
guidelines from include/asm-generic/sections.h.
1) Use _text to mark the start of the kernel image including the head
text, and _stext to mark the start of the .text section.
2) Export mandatory global variables __bss_stop.
3)
Normalize global variables exported by vmlinux.lds to conform usage
guidelines from include/asm-generic/sections.h.
Use _text to mark the start of the kernel image including the head text,
and _stext to mark the start of the .text section.
This patch also fixes possible bugs due to current
Normalize global variables exported by vmlinux.lds to conform usage
guidelines from include/asm-generic/sections.h.
1) Use _text to mark the start of the kernel image including the head
text, and _stext to mark the start of the .text section.
2) Export mandatory global variables __init_begin and
This patch documents global variables exported from vmlinux.lds.
1) Add comments about usage guidelines for global variables exported
from vmlinux.lds.S.
2) Remove unused __initdata_begin[] and __initdata_end[].
Signed-off-by: Jiang Liu
Acked-by: Arnd Bergmann
Cc: Arnd Bergmann
Cc:
This patchset applies to
git://git.cmpxchg.org/linux-mmotm.git v3.10-rc2-mmotm-2013-05-22-16-40
You may access the patch seriea at:
git://github.com/jiangliu/linux.git mem_init_v6
Great thanks to Vineet Gupta for testing on ARC.
The original goal of this patchset is to fix the bug
Prepare for removing num_physpages and simplify mem_init().
Signed-off-by: Jiang Liu
Cc: Benjamin Herrenschmidt
Cc: Paul Mackerras
Cc: linuxppc-...@lists.ozlabs.org
Cc: linux-kernel@vger.kernel.org
---
arch/powerpc/mm/mem.c | 56 +++
1 file
Prepare for removing num_physpages and simplify mem_init().
Signed-off-by: Jiang Liu
Cc: Chen Liqin
Cc: Lennox Wu
Cc: linux-kernel@vger.kernel.org
---
arch/score/mm/init.c | 26 ++
1 file changed, 2 insertions(+), 24 deletions(-)
diff --git a/arch/score/mm/init.c
Prepare for removing num_physpages and simplify mem_init().
Signed-off-by: Jiang Liu
Acked-by: Sam Ravnborg
Cc: "David S. Miller"
Cc: Yasuaki Ishimatsu
Cc: Tang Chen
Cc: sparcli...@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
---
arch/sparc/kernel/leon_smp.c | 3 ---
On Wed, May 29, 2013 at 01:56:13PM +0100, Vineet Gupta wrote:
> zap_pte_range loops from @addr to @end. In the middle, if it runs out of
> batching slots, TLB entries needs to be flushed for @start to @interim,
> NOT @interim to @end.
>
> Since ARC port doesn't use page free batching I can't test
Prepare for removing num_physpages and simplify mem_init().
Signed-off-by: Jiang Liu
Acked-by: Chris Metcalf
Cc: Bjorn Helgaas
Cc: "David S. Miller"
Cc: Wen Congyang
Cc: linux-kernel@vger.kernel.org
---
arch/tile/kernel/setup.c | 16
arch/tile/mm/init.c | 15
Andrii Tseglytskyi writes:
[...]
>>> Signed-off-by: Vincent Bour
>>> Signed-off-by: Leonardo Affortunati
>>> Signed-off-by: Nishanth Menon
>>> Signed-off-by: Andrii.Tseglytskyi
>> From Documentation/SubbmittingPatches:
>>
>> "If a person was not directly involved in the preparation or
On 05/29/2013 09:32 PM, Marcelo Tosatti wrote:
> On Wed, May 29, 2013 at 09:09:09PM +0800, Xiao Guangrong wrote:
>> This information is I replied Gleb in his mail where he raced a question that
>> why "collapse tlb flush is needed":
>>
>> ==
>> It seems no.
>> Since we have reloaded mmu before
On 29/05/2013 16:37, Eric Dumazet wrote:
On Wed, 2013-05-29 at 09:39 +0300, Eliezer Tamir wrote:
+static inline unsigned long ll_end_time(void)
+{
+ return TSC_MHZ * ACCESS_ONCE(sysctl_net_ll_poll) + get_cycles();
+}
This can overflow.
Multiply is giving 32bits, as tsc_khz is an int,
Prepare for removing num_physpages and simplify mem_init().
Signed-off-by: Jiang Liu
Cc: Thomas Gleixner
Cc: Ingo Molnar
Cc: "H. Peter Anvin"
Cc: x...@kernel.org
Cc: Andreas Herrmann
Cc: Tang Chen
Cc: Wen Congyang
Cc: Jianguo Wu
Cc: linux-kernel@vger.kernel.org
---
Prepare for removing num_physpages and simplify mem_init().
Signed-off-by: Jiang Liu
Cc: Chris Zankel
Cc: Max Filippov
Cc: Geert Uytterhoeven
Cc: linux-xte...@linux-xtensa.org
Cc: linux-kernel@vger.kernel.org
---
arch/xtensa/mm/init.c | 27 ++-
1 file changed, 2
On 05/29/2013 09:21 PM, Marcelo Tosatti wrote:
> On Wed, May 29, 2013 at 09:09:09PM +0800, Xiao Guangrong wrote:
>> On 05/29/2013 07:11 PM, Marcelo Tosatti wrote:
>>> On Tue, May 28, 2013 at 11:02:09PM +0800, Xiao Guangrong wrote:
On 05/28/2013 08:18 AM, Marcelo Tosatti wrote:
> On Mon,
Now all references to num_physpages have been removed, so kill it.
Signed-off-by: Jiang Liu
Cc: Mel Gorman
Cc: Michel Lespinasse
Cc: Rik van Riel
Cc: Jiang Liu
Cc: Hugh Dickins
Cc: David Rientjes
Cc: Al Viro
Cc: Konstantin Khlebnikov
Cc: linux...@kvack.org
Cc:
Prepare for removing num_physpages and simplify mem_init().
Signed-off-by: Jiang Liu
Cc: Jeff Dike
Cc: Richard Weinberger
Cc: user-mode-linux-de...@lists.sourceforge.net
Cc: linux-kernel@vger.kernel.org
---
arch/um/kernel/mem.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff
Prepare for removing num_physpages and simplify mem_init().
Signed-off-by: Jiang Liu
Cc: Guan Xuetao
Cc: Michal Hocko
Cc: David Rientjes
Cc: linux-kernel@vger.kernel.org
---
arch/unicore32/mm/init.c | 49 ++--
1 file changed, 2 insertions(+), 47
Prepare for removing num_physpages and simplify mem_init().
Signed-off-by: Jiang Liu
Cc: Paul Mundt
Cc: Wen Congyang
Cc: Tang Chen
Cc: linux...@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
---
arch/sh/mm/init.c | 25 -
1 file changed, 4 insertions(+), 21
Prepare for removing num_physpages and simplify mem_init().
Signed-off-by: Jiang Liu
Cc: David Howells
Cc: Koichi Yasutake
Cc: linux-am33-l...@redhat.com
Cc: linux-kernel@vger.kernel.org
---
arch/mn10300/mm/init.c | 26 ++
1 file changed, 2 insertions(+), 24
Prepare for removing num_physpages and simplify mem_init().
Signed-off-by: Jiang Liu
Cc: Martin Schwidefsky
Cc: Heiko Carstens
Cc: linux...@de.ibm.com
Cc: linux-s...@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
---
arch/s390/mm/init.c | 17 ++---
1 file changed, 2
Prepare for removing num_physpages and simplify mem_init().
Signed-off-by: Jiang Liu
Cc: Hirokazu Takata
Cc: linux-m...@ml.linux-m32r.org
Cc: linux-m32r...@ml.linux-m32r.org
Cc: linux-kernel@vger.kernel.org
---
arch/m32r/mm/discontig.c | 6 +-
arch/m32r/mm/init.c | 49
Prepare for removing num_physpages and simplify mem_init().
Signed-off-by: Jiang Liu
Cc: Ralf Baechle
Cc: David Daney
Cc: Arnd Bergmann
Cc: Jiri Kosina
Cc: John Crispin
Cc: Greg Kroah-Hartman
Cc: Minchan Kim
Cc: linux-m...@linux-mips.org
Cc: linux-kernel@vger.kernel.org
---
Prepare for removing num_physpages and simplify mem_init().
Signed-off-by: Jiang Liu
Cc: Richard Kuo
Cc: linux-hexa...@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
---
arch/hexagon/mm/init.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/arch/hexagon/mm/init.c
Prepare for removing num_physpages and simplify mem_init().
Signed-off-by: Jiang Liu
Cc: David Howells
Cc: Andi Kleen
Cc: Geert Uytterhoeven
Cc: Greg Kroah-Hartman
Cc: linux-kernel@vger.kernel.org
---
arch/frv/kernel/setup.c | 13 +++--
arch/frv/mm/init.c | 49
Prepare for removing num_physpages and simplify mem_init().
Signed-off-by: Jiang Liu
Cc: Russell King
Cc: Catalin Marinas
Cc: Will Deacon
Cc: linux-arm-ker...@lists.infradead.org
Cc: linux-kernel@vger.kernel.org
---
arch/arm/mm/init.c | 47 ++-
1
Prepare for removing num_physpages and simplify mem_init().
Signed-off-by: Jiang Liu
Acked-by: Vineet Gupta# for arch/arc
Cc: James Hogan
Cc: Rob Herring
Cc: linux-kernel@vger.kernel.org
---
arch/arc/mm/init.c | 36 +++-
1 file changed, 3 insertions(+), 33
Generate mandatory global variables __bss_start/__bss_stop in
file vmlinux.lds.
Also remove one unused declaration of _text.
Signed-off-by: Jiang Liu
Cc: Yoshinori Sato
Cc: Jiang Liu
Cc: linux-kernel@vger.kernel.org
---
arch/h8300/boot/compressed/misc.c | 1 -
arch/h8300/kernel/vmlinux.lds.S
Prepare for removing num_physpages.
Signed-off-by: Jiang Liu
Cc: Wen Congyang
Cc: Tang Chen
Cc: Yasuaki Ishimatsu
Cc: linux...@kvack.org
Cc: linux-kernel@vger.kernel.org
---
mm/memory_hotplug.c | 4
1 file changed, 4 deletions(-)
diff --git a/mm/memory_hotplug.c b/mm/memory_hotplug.c
Normalize global variables exported by vmlinux.lds to conform usage
guidelines from include/asm-generic/sections.h.
Use _text to mark the start of the kernel image including the head text,
and _stext to mark the start of the .text section.
Signed-off-by: Jiang Liu
Acked-by: Hans-Christian
The Booting document isn't very clear about what a bootloader is
required to do when booting with an FDT. First, the placement of the FDT
isn't as strict as the document suggests. It can actually appear
anywhere in RAM and the decompressor will relocated if it absolutely
needs to (but it is better
On Wed, 2013-05-29 at 06:33 -0700, Paul E. McKenney wrote:
> > Is there something a little smarter we can do? Could we use
> > on_each_cpu_cond() with a function that checks if the CPU really is
> > fully idle?
>
> One recent change that should help is making the _rcuidle variants of
> the
Functions not used globally should be static.
Signed-off-by: Haicheng Li
---
fs/fs-writeback.c |7 +++
include/linux/writeback.h |5 -
2 files changed, 3 insertions(+), 9 deletions(-)
diff --git a/fs/fs-writeback.c b/fs/fs-writeback.c
index 3be5718..1d66062 100644
---
On Wed, 2013-05-29 at 14:42 +0100, David Laight wrote:
> > > +/* we don't mind a ~2.5% imprecision */
> > > +#define TSC_MHZ (tsc_khz >> 10)
>
> Wouldn't (tsc_khz << 10) be better?
We want number of cycles per usec.
Your formula gives number of cycles per 1.024 second.
--
To unsubscribe from
Hi Viresh,
> On 29 May 2013 12:39, Lukasz Majewski wrote:
> > I also agree. Moreover, I think that there should be only one set of
> > "boost" sysfs entries either it is supported by HW (Intel) or SW
> > (ARM).
>
> Yes, you need to change acpi-cpufreq driver too to use this common
>
On Wed, 2013-05-29 at 14:09 +0100, David Laight wrote:
> > > Adds a napi_id and a hashing mechanism to lookup a napi by id.
>
> Is this one of the places where the 'id' can be selected
> so that the 'hash' lookup never collides?
Very few devices will ever call napi_hash_add()
[ Real NIC RX
On 05/29/2013 08:25 PM, Marcelo Tosatti wrote:
> On Tue, May 28, 2013 at 10:51:38PM +0800, Xiao Guangrong wrote:
>> On 05/28/2013 08:13 AM, Marcelo Tosatti wrote:
>>> On Thu, May 23, 2013 at 03:55:58AM +0800, Xiao Guangrong wrote:
It is only used to zap the obsolete page. Since the obsolete
On 05/28, Eric W. Biederman wrote:
>
> Oleg Nesterov writes:
>
> > proc_task_readdir() does not really need "leader", first_tid()
> > has to revalidate it anyway. Just pass proc_pid(inode) to
> > first_tid() instead, it can do pid_task(PIDTYPE_PID) itself
> > and read ->group_leader only if
On Wed, May 29, 2013 at 1:56 PM, Laxman Dewangan wrote:
> On Monday 27 May 2013 05:44 PM, Andy Shevchenko wrote:
>>
>> Accordingly to dma_cookie_status() description locking is not required.
>>
> I think we need lock here:
> From isr handler, we call dma_cookie_complete() which is in spin-locked.
Jens,
please pull from
git://git.kernel.org/pub/scm/linux/kernel/git/jikos/linux-block.git for-jens
to receive one pktcdvd fix. It fixes a highly theoretical issue with using
pktcdvd to work with media that'd be larger than 2TB :) But it's a correct
fix and makes static checkers shut up
> > +/* we don't mind a ~2.5% imprecision */
> > +#define TSC_MHZ (tsc_khz >> 10)
Wouldn't (tsc_khz << 10) be better?
David
N�r��yb�X��ǧv�^�){.n�+{zX����ܨ}���Ơz�:+v���zZ+��+zf���h���~i���z��w���?�&�)ߢf��^jǫy�m��@A�a���
0��h���i
On Wed, 2013-05-29 at 09:52 +0200, Peter Zijlstra wrote:
> Just to be clear, its the idle part that's a problem, right?
Actually, it's the userspace part that's triggered the bugs.
> Being stuck
> in userspace isn't a problem since if that CPU is in userspace its
> certainly not got a
On Wed, May 29, 2013 at 09:09:09PM +0800, Xiao Guangrong wrote:
> This information is I replied Gleb in his mail where he raced a question that
> why "collapse tlb flush is needed":
>
> ==
> It seems no.
> Since we have reloaded mmu before zapping the obsolete pages, the mmu-lock
> is easily
On Wed, 2013-05-29 at 09:39 +0300, Eliezer Tamir wrote:
> Adds busy-poll support for TCP.
> Copy the napi_id from an incomming skb to the sk in tcp_v[46]_rcv().
> when there is no data in the socket we busy-poll in tcp_recvmsg().
> This is a good example of how to add busy-poll support to new
On Thu, 16 May 2013, Dan Carpenter wrote:
> Static checkers complain about widening the binary "not" operations here
> because sectors are u64 and "(pd)->settings.size" is unsigned int.
> It unintentionally clears the high 32 bits of the sector. This means
> that the driver won't work for
On Wed, 2013-05-29 at 09:39 +0300, Eliezer Tamir wrote:
> +/* we don't mind a ~2.5% imprecision */
> +#define TSC_MHZ (tsc_khz >> 10)
> +
> +static inline unsigned long ll_end_time(void)
> +{
> + return TSC_MHZ * ACCESS_ONCE(sysctl_net_ll_poll) + get_cycles();
> +}static inline unsigned long
From: Gabriel Fernandez
This board includes the U8540 platform and specifies only the
ST-Ericsson UIB version 3.
---
arch/arm/boot/dts/Makefile | 1 +
arch/arm/boot/dts/ccu8540-uib-v3.dts | 16
2 files changed, 17 insertions(+)
create mode 100644
From: Gabriel Fernandez
Here we ensure the SFH7741 Proximity Sensor is registered through
gpio-keys when booting with Device Tree enabled.
Signed-off-by: Gabriel Fernandez
---
arch/arm/boot/dts/ccu8540-uib-v3.dts | 15 +++
1 file changed, 15 insertions(+)
diff --git
From: Gabriel Fernandez
This patch adds DT probing of the light sensor bh1780
for u8540.
Signed-off-by: Gabriel Fernandez
---
arch/arm/boot/dts/ccu8540-uib-v3.dts | 5 +
1 file changed, 5 insertions(+)
diff --git a/arch/arm/boot/dts/ccu8540-uib-v3.dts
From: Gabriel Fernandez
This patch set introduces a new board for u8540 platform: ccu8540-uib-v3.
Gabriel Fernandez (4):
ARM: ux540: Add ccu8540-uib-v3 Device Tree Machine
ARM: u8540: Add device tree support for lp5521 leds
ARM: u8540: Add device tree support for bh1780
ARM: u8540:
From: Gabriel Fernandez
This patch adds DT probing of lp5521 leds for u8540.
Signed-off-by: Gabriel Fernandez
---
arch/arm/boot/dts/ccu8540-uib-v3.dts | 22 ++
1 file changed, 22 insertions(+)
diff --git a/arch/arm/boot/dts/ccu8540-uib-v3.dts
On 05/29/2013 11:58 AM, Mohammed, Afzal wrote:
> Hi Benoit,
>
> On Wed, May 29, 2013 at 14:09:18, Cousson, Benoit wrote:
>> On 05/29/2013 10:06 AM, Mohammed, Afzal wrote:
>>> On Wed, May 29, 2013 at 03:35:10, Stephen Warren wrote:
On 05/28/2013 03:25 PM, Jon Hunter wrote:
>
> If you are
On Wed, May 29, 2013 at 09:09:09PM +0800, Xiao Guangrong wrote:
> On 05/29/2013 07:11 PM, Marcelo Tosatti wrote:
> > On Tue, May 28, 2013 at 11:02:09PM +0800, Xiao Guangrong wrote:
> >> On 05/28/2013 08:18 AM, Marcelo Tosatti wrote:
> >>> On Mon, May 27, 2013 at 10:20:12AM +0800, Xiao Guangrong
On Wed, May 29, 2013 at 09:52:49AM +0200, Peter Zijlstra wrote:
> On Tue, May 28, 2013 at 08:01:16PM -0400, Steven Rostedt wrote:
> > The function tracer uses preempt_disable/enable_notrace() for
> > synchronization between reading registered ftrace_ops and unregistering
> > them.
> >
> > Most of
On 05/28/2013 09:39 PM, Alex Shi wrote:
> On 05/24/2013 10:54 AM, Alex Shi wrote:
>>
>> Ops, I just find a old patch left on my laptop. and it still works on latest
>> Linus tree. I don't remember there is a reasonable excuse to reject this
>> patch.
>>
>> So, anyone like to pick it up?
>
> Ping
On 05/28/2013 09:31 PM, Alex Shi wrote:
>> > Tested the latest patch set (new 3/8 and 6/8) with pgbench, tip
>> > 3.10.0-rc1 and 12 cpu X86 box, works well and still benefit ;-)
>
> Paul:
>
> Would you like to give more comments/ideas of this patch set?
Peter,
If no more idea of the
On Fri, 24 May 2013, David Herrmann wrote:
> So I hope we can apply this for linux-next (probably after gustavo
> applied the HIDP fix)?
Applied to my tree, together with the hidp fix. Thanks David, thanks
Daniel!
--
Jiri Kosina
SUSE Labs
--
To unsubscribe from this list: send the line
On 05/29/2013 08:39 PM, Marcelo Tosatti wrote:
> On Wed, May 29, 2013 at 11:03:19AM +0800, Xiao Guangrong wrote:
> the pages since other vcpus may be doing locklessly shadow
> page walking
>>>
>>> Ah, yes, i agree with you.
>>>
>>> We can introduce a list, say kvm->arch.obsolte_pages, to
On Wed, 29 May 2013, Peter Zijlstra wrote:
> Hurm.. I don't suppose you have an easy reproducer handy eh? I'll go
> stare at it. At least the current state is better than before, but
> clearly we're not quite there yet.
I've been working on a reproducible test case. Simple modifications to
the
Hi Max,
This patch - acked by you then, got lost in the mist of time. Care to take it in
via xtensa tree for 3.11
Thx,
-Vineet
Original Message
Subject: [PATCH 2/2] xtensa: Flat DeviceTree copy not future-safe
Date: Fri, 22 Feb 2013 00:09:22 +0530
From: Vineet Gupta
To:
> > Adds a napi_id and a hashing mechanism to lookup a napi by id.
Is this one of the places where the 'id' can be selected
so that the 'hash' lookup never collides?
David
N�r��yb�X��ǧv�^�){.n�+{zX����ܨ}���Ơz�:+v���zZ+��+zf���h���~i���z�
On 05/29/2013 07:11 PM, Marcelo Tosatti wrote:
> On Tue, May 28, 2013 at 11:02:09PM +0800, Xiao Guangrong wrote:
>> On 05/28/2013 08:18 AM, Marcelo Tosatti wrote:
>>> On Mon, May 27, 2013 at 10:20:12AM +0800, Xiao Guangrong wrote:
On 05/25/2013 04:34 AM, Marcelo Tosatti wrote:
> On Thu,
During the babble condition on usb bus, the musb controller removes the
session and stops host mode functionality. All the devices connected
to root port will be disconnected due to this babble event.
As part of recovery of babble bus condition, restarting the
controller is needed as
Adding babble_recovery operation as part of musb->ops, used
to recover from babble condition during babble interrupt.
Signed-off-by: Ravi Babu
---
drivers/usb/musb/musb_core.c |6 ++
drivers/usb/musb/musb_core.h |7 +++
2 files changed, 13 insertions(+), 0 deletions(-)
diff
401 - 500 of 1428 matches
Mail list logo