Re: [PATCH 9/9] perf kvm stat report: Add option to analyze specific VM

2013-08-04 Thread Xiao Guangrong
On 08/03/2013 04:05 AM, David Ahern wrote: > Add an option to analyze a specific VM within a data file. This > allows the collection of kvm events for all VMs and then analyze > data for each VM (or set of VMs) individually. Interesting. But how can we know which pid is the guest's pid after coll

Antw: Re: Possible mmap() write() problem in SLES11 SP2 kernel

2013-08-04 Thread Ulrich Windl
>>> Hugh Dickins schrieb am 04.08.2013 um 00:37 in Nachricht : > On Thu, 1 Aug 2013, Ulrich Windl wrote: >> Hi folks! >> >> I think I'd let you know (maybe I'm wrong, and the kernel is right): >> >> I write a C-program that maps a file into an private writable map. Then I > modify the area a bi

leds-lp5523: Broken commit db6eaf8388a413a5ee1b4547ce78506b9c6456b0

2013-08-04 Thread Pali Rohár
Hello, git commit "leds-lp5523: use generic firmware interface" db6eaf8388a413a5ee1b4547ce78506b9c6456b0 introduced in kernel 3.10 changed user space API for modifing lp5523 led patterns via /sys. Before this commit there were sysfs attributes engineX_mode, engineX_load and engineX_leds (for

Re: [PATCH 8/9] perf kvm: debug for missing vmexit/vmentry event

2013-08-04 Thread Xiao Guangrong
On 08/03/2013 04:05 AM, David Ahern wrote: > Expected to have missing events for each vcpu when perf is > started. After that should not have missing events. Sorry, i can not understand what's this info used for. > > Signed-off-by: David Ahern > Cc: Arnaldo Carvalho de Melo > Cc: Ingo Molnar

linux-next: Tree for Aug 5

2013-08-04 Thread Stephen Rothwell
Hi all, Changes since 20130802: The ext4 tree still has its build failure so I used the version from next-20130726. The tty tree gained a conflict against the sh tree. I have created today's linux-next tree at git://g

Re: [PATCH 07/13] tracing/kprobes: Remove duplicate set_print_fmt()

2013-08-04 Thread Masami Hiramatsu
Remove? or Integrate? :) (2013/07/31 18:03), Namhyung Kim wrote: > From: Namhyung Kim > > The set_print_fmt() functions are implemented almost same for > [ku]probes. Move it to a common place and get rid of the duplication. Anyway this looks good for me;) Acked-by: Masami Hiramatsu Thanks!

[PATCH v3 1/2] ARM: OMAP: Add secure function omap_smc3() which calling instruction smc #1

2013-08-04 Thread Pali Rohár
Here is new version (v3) of omap secure part patch: Other secure functions omap_smc1() and omap_smc2() calling instruction smc #0 but Nokia RX-51 board needs to call smc #1 for PPA access. Signed-off-by: Ivaylo Dimitrov Signed-off-by: Pali Rohár --- diff --git a/arch/arm/mach-omap2/omap-secure.

Re: [PATCH] omapfb: In omapfb_probe return -EPROBE_DEFER when display driver is not loaded yet

2013-08-04 Thread Pali Rohár
Hello, On Tuesday 23 July 2013 12:01:39 Tomi Valkeinen wrote: > On 13/07/13 21:27, Pavel Machek wrote: > > On Wed 2013-07-10 15:08:59, Pali Rohár wrote: > >> * On RX-51 probing for acx565akm driver is later then for > >> omapfb which cause that omapfb probe fail and framebuffer > >> is not working

Re: [Ksummit-2013-discuss] [ATTEND] [ARM ATTEND] kernel data bloat and how to avoid it

2013-08-04 Thread Tony Lindgren
* Olof Johansson [130802 22:37]: > On Fri, Aug 2, 2013 at 2:31 PM, Matt Sealey wrote: > > On Fri, Aug 2, 2013 at 3:13 AM, Tony Lindgren wrote: > >> * Mel Gorman [130731 08:28]: > >>> On Wed, Jul 31, 2013 at 12:38:03AM -0700, Tony Lindgren wrote: > >>> > Hi all, > >>> > > >>> > Probably the bigg

Re: [PATCH 7/9] perf kvm: option to print events that exceed a threshold

2013-08-04 Thread Xiao Guangrong
On 08/03/2013 04:05 AM, David Ahern wrote: > This is useful to spot high latency blips. Yes, it is a good idea. > > Signed-off-by: David Ahern > Cc: Arnaldo Carvalho de Melo > Cc: Ingo Molnar > Cc: Frederic Weisbecker > Cc: Peter Zijlstra > Cc: Jiri Olsa > Cc: Namhyung Kim > Cc: Xiao Guan

Re: [PATCH] clk: tegra30: Don't wait for PLL_U lock bit

2013-08-04 Thread Prashant Gaikwad
On Thursday 01 August 2013 02:34 AM, Stephen Warren wrote: On 07/31/2013 11:42 AM, Tuomas Tynkkynen wrote: The lock bit on PLL_U does not seem to be working correctly and sometimes never gets set when waiting for the PLL to come up. Remove the TEGRA_PLL_USE_LOCK flag to use a constant delay. Pe

Re: [Ksummit-2013-discuss] [ATTEND] [ARM ATTEND] kernel data bloat and how to avoid it

2013-08-04 Thread Tony Lindgren
* Mike Turquette [130802 13:04]: > Quoting Tony Lindgren (2013-08-02 00:53:53) > > People are unnecessarily defining registers in kernel for similar devices > > over and over again for each new SoC at the arch level and now more and > > more at the driver level. > > > > One example of that are de

Re: [GIT PULL] extcon next for 3.12

2013-08-04 Thread Greg KH
On Mon, Aug 05, 2013 at 09:49:36AM +0900, Chanwoo Choi wrote: > Hi Greg, > > This is extcon-next pull request for 3.12. I add detailed description > of this pull request on below. Please pull extcon with following updates. > > Best Regards, > Chanwoo Choi > > The following changes since commit 5

Re: [PATCH 13/13] tracing/probes: Fix basic print type functions

2013-08-04 Thread Joe Perches
On Mon, 2013-08-05 at 15:22 +0900, Masami Hiramatsu wrote: > (2013/07/31 18:03), Namhyung Kim wrote: > > From: Namhyung Kim > > > > The print format of s32 type was "ld" and it's casted to "long". So > > it turned out to print 4294967295 for "-1" on 64-bit systems. Not > > sure whether it worke

Re: [Ksummit-2013-discuss] [ATTEND] [ARM ATTEND] kernel data bloat and how to avoid it

2013-08-04 Thread Tony Lindgren
* Russell King - ARM Linux [130802 06:31]: > On Fri, Aug 02, 2013 at 05:41:31AM -0700, Tony Lindgren wrote: > > Oh and thinking about it a bit more, this issue is mostly with the > > device drivers implementing frameworks, not the device drivers > > using the frameworks. Things like clocks, regula

[PATCH] dma-buf: Expose buffer size to userspace

2013-08-04 Thread Christopher James Halse Rogers
Each dma-buf has an associated size and it's reasonable for userspace to want to know what it is. Since userspace already has an fd, expose the size using the size = lseek(fd, SEEK_END, 0); lseek(fd, SEEK_CUR, 0); idiom. Signed-off-by: Christopher James Halse Rogers --- I've run into a point i

Re: [PATCH v2 RESEND 13/18] x86, numa, mem_hotplug: Skip all the regions the kernel resides in.

2013-08-04 Thread Tang Chen
Hi tj, I have resent the v2 patch-set. Would you please give some more comments about the memblock and x86 booting code modification ? And I'm also discussing with the ACPICA guys about the implementation on ACPI side. I hope we can catch up with 3.12 this time. Thanks. On 08/02/2013 05:14 PM,

Re: [PATCH 13/13] tracing/probes: Fix basic print type functions

2013-08-04 Thread Masami Hiramatsu
(2013/07/31 18:03), Namhyung Kim wrote: > From: Namhyung Kim > > The print format of s32 type was "ld" and it's casted to "long". So > it turned out to print 4294967295 for "-1" on 64-bit systems. Not > sure whether it worked well on 32-bit systems. > > Anyway, it'd be better if we have exact

Re: [Ksummit-2013-discuss] [ARM ATTEND] arch/arm SoC organization

2013-08-04 Thread Tony Lindgren
* Christian Daudt [130802 16:13]: > On Fri, Aug 2, 2013 at 1:33 AM, Tony Lindgren wrote: > > * Jason Cooper [130731 07:25]: > >> So, I'd like to propose we discuss some lessons learned and maybe arrive > >> at some best practices. eg, should we just go with mach-$COMPANY/? How > >> best to han

Re: [PATCH 6/9] perf kvm: add min and max stats to display

2013-08-04 Thread Xiao Guangrong
On 08/03/2013 04:05 AM, David Ahern wrote: > Signed-off-by: David Ahern > Cc: Arnaldo Carvalho de Melo > Cc: Ingo Molnar > Cc: Frederic Weisbecker > Cc: Peter Zijlstra > Cc: Jiri Olsa > Cc: Namhyung Kim > Cc: Xiao Guangrong > Cc: Runzhen Wang > --- > tools/perf/builtin-kvm.c | 21 ++

[PATCH] regulator: s2mps11: Fix setting ramp_delay

2013-08-04 Thread Axel Lin
Current code has wrong mask and val arguments for updating ramp_delay. Fix it. Also ensure the return value of get_ramp_delay() won't greater than 3 because the mask field for ramp_val only takes 2 bits. Signed-off-by: Axel Lin --- drivers/regulator/s2mps11.c | 8 ++-- 1 file changed, 6 inse

Re: [PATCH] KVM: MMU: fix check the reserved bits on the gpte of L2

2013-08-04 Thread Gleb Natapov
On Mon, Aug 05, 2013 at 12:59:19PM +0800, Xiao Guangrong wrote: > Current code always uses arch.mmu to check the reserved bits on guest gpte > which is valid only for L1 guest, we should use arch.nested_mmu instead when > we translate gva to gpa for the L2 guest > > Fix it by using @mmu instead si

Re: [PATCH 06/13] tracing/kprobes: Move common functions to trace_probe.c

2013-08-04 Thread Masami Hiramatsu
(2013/07/31 18:03), Namhyung Kim wrote: > From: Namhyung Kim > > The __get_data_size() and store_trace_args() will be used by uprobes > too. Move them to a common location. Hmm, could you move this into trace_probe.h? Since this will be used in fast path, I'd like to keep it as inlined. > > C

Re: [PATCH 2/9] perf stats: add max and min stats

2013-08-04 Thread Xiao Guangrong
On 08/03/2013 04:05 AM, David Ahern wrote: > Need an initialization function to set min to -1 to > differentiate from an actual min of 0. Reviewed-by: Xiao Guangrong -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org M

Re: [PATCH 09/13] tracing/uprobes: Fix a comment for uprobe registration syntax

2013-08-04 Thread Masami Hiramatsu
(2013/07/31 18:03), Namhyung Kim wrote: > From: Namhyung Kim > > The uprobe syntax requires an offset after a file path not a symbol. Is this a bugfix? If so, IMHO, it should be applied earlier in the series. Reviewed-by: Masami Hiramatsu > > Cc: Masami Hiramatsu > Cc: Srikar Dronamraju >

Re: [PATCH 04/13] tracing/kprobes: Factor out struct trace_probe

2013-08-04 Thread Masami Hiramatsu
(2013/07/31 18:03), Namhyung Kim wrote: > From: Namhyung Kim > > There are functions that can be shared to both of kprobes and uprobes. > Separate common data structure to struct trace_probe and use it from > the shared functions. Thanks, basically I'm good at this change. Could you also rename

Re: [PATCH] DMA: add help function to check whether dma controller registered

2013-08-04 Thread Richard Zhao
On Sat, Aug 03, 2013 at 03:59:59AM +0800, Stephen Warren wrote: > On 08/02/2013 12:04 AM, Richard Zhao wrote: > > DMA client device driver usually needs to know at probe time whether > > dma controller has been registered to deffer probe. So add a help > > function of_dma_check_controller. > > > >

RE: [char-misc 3.11 V2] mei: me: fix hardware reset flow

2013-08-04 Thread Winkler, Tomas
> > On Tue, Jul 30, 2013 at 02:28:55PM +, Winkler, Tomas wrote: > > > > > Subject: Re: [char-misc 3.11 V2] mei: me: fix hardware reset flow > > > > > > On Tue, Jul 30, 2013 at 02:11:51PM +0300, Tomas Winkler wrote: > > > > Both H_IS and H_IE needs to be set to receive H_RDY interrupt > > > >

Re: [PATCH 5/9] perf kvm: add live mode - v3

2013-08-04 Thread Xiao Guangrong
Hi David, Thanks for your nice job! I got some questions. On 08/03/2013 04:05 AM, David Ahern wrote: > static int kvm_events_hash_fn(u64 key) > { > return key & (EVENTS_CACHE_SIZE - 1); > @@ -472,7 +501,11 @@ static bool handle_end_event(struct perf_kvm_stat *kvm, > vcpu_record->la

Re: [patch 1/2] [PATCH] mm: Save soft-dirty bits on swapped pages

2013-08-04 Thread Cyrill Gorcunov
On Mon, Aug 05, 2013 at 10:58:35AM +0800, Wanpeng Li wrote: > > > >pte_to_swp_entry is passed orig_pte by vaule, not a pointer > >so although pte_to_swp_entry clear out _PTE_SWP_SOFT_DIRTY, it does it in > >local-copy. > >So orig_pte is never changed. > > Ouch! Thanks for pointing out. ;-) > > R

Re: [PATCH 0/1] Platform: x86: chromeos_laptop - convert to i2c_driver to handle i915 race

2013-08-04 Thread Martin Nordholts
2013/8/5 Benson Leung : > Hi Martin, > > Thank you for looking into this problem. Obviously, this is a problem > Olof and our team has been working on as well. Hi Benson, Thank you for spending time reviewing and testing my patch. I understand your team is busy and am honored you took the time to

Re: [PATCH 01/13] tracing/kprobes: Move fetch functions to trace_kprobe.c

2013-08-04 Thread Masami Hiramatsu
(2013/07/31 18:03), Namhyung Kim wrote: > From: Hyeoncheol Lee > > Move kprobes-specific fetch functions to the trace_kprobe.c file. > Also define kprobes_fetch_type_table in the .c file. This table is > shared with uprobes for now, but the uprobes will get its own table > in the later patch. >

Re: [char-misc 3.11 V2] mei: me: fix hardware reset flow

2013-08-04 Thread Greg KH
On Tue, Jul 30, 2013 at 02:28:55PM +, Winkler, Tomas wrote: > > > Subject: Re: [char-misc 3.11 V2] mei: me: fix hardware reset flow > > > > On Tue, Jul 30, 2013 at 02:11:51PM +0300, Tomas Winkler wrote: > > > Both H_IS and H_IE needs to be set to receive H_RDY interrupt > > > > > > 1. Assert

Re: linux-next: manual merge of the tty tree with the sh tree

2013-08-04 Thread Greg KH
On Mon, Aug 05, 2013 at 03:04:56PM +1000, Stephen Rothwell wrote: > Hi Greg, > > Today's linux-next merge of the tty tree got a conflict in > drivers/tty/serial/sh-sci.c between commit ada80ee7fa60 ("serial: sh-sci: > Add OF support") from the sh tree and commit 3ba35baa55fa ("serial: > sh-sci: us

Re: [PATCH 01/18] mm, hugetlb: protect reserved pages when softofflining requests the pages

2013-08-04 Thread Aneesh Kumar K.V
Hillf Danton writes: > On Fri, Aug 2, 2013 at 12:17 AM, Aneesh Kumar K.V > wrote: >> Hillf Danton writes: >> ... > >> >> Well, why is it illegal to use reserved page here? > >> > > >> > If we use reserved page here, other processes which are promised to > >> > use > >> > e

Re: [PATCH 4/9] perf kvm: split out tracepoints from record args

2013-08-04 Thread Xiao Guangrong
On 08/03/2013 04:05 AM, David Ahern wrote: > Needed by kvm live command. Make record_args a local while we are > messing with the args. Reviewed-by: Xiao Guangrong -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org Mor

linux-next: manual merge of the tty tree with the sh tree

2013-08-04 Thread Stephen Rothwell
Hi Greg, Today's linux-next merge of the tty tree got a conflict in drivers/tty/serial/sh-sci.c between commit ada80ee7fa60 ("serial: sh-sci: Add OF support") from the sh tree and commit 3ba35baa55fa ("serial: sh-sci: use dev_get_platdata()") from the tty tree. I fixed it up (see below) and can c

Re: [patch v2 3/3] mm: page_alloc: fair zone allocator policy

2013-08-04 Thread Johannes Weiner
On Mon, Aug 05, 2013 at 01:48:58PM +0900, Minchan Kim wrote: > On Sun, Aug 04, 2013 at 11:43:04PM -0400, Johannes Weiner wrote: > > On Mon, Aug 05, 2013 at 10:15:46AM +0900, Minchan Kim wrote: > > > I really want to give Reviewed-by but before that, I'd like to clear out > > > my concern which didn

[PATCH] KVM: MMU: fix check the reserved bits on the gpte of L2

2013-08-04 Thread Xiao Guangrong
Current code always uses arch.mmu to check the reserved bits on guest gpte which is valid only for L1 guest, we should use arch.nested_mmu instead when we translate gva to gpa for the L2 guest Fix it by using @mmu instead since it is adapted to the current mmu mode automatically The bug can be tr

Re: [patch v2 3/3] mm: page_alloc: fair zone allocator policy

2013-08-04 Thread Minchan Kim
On Sun, Aug 04, 2013 at 11:43:04PM -0400, Johannes Weiner wrote: > On Mon, Aug 05, 2013 at 10:15:46AM +0900, Minchan Kim wrote: > > Hello Hannes, > > > > On Fri, Aug 02, 2013 at 11:37:26AM -0400, Johannes Weiner wrote: > > > Each zone that holds userspace pages of one workload must be aged at a >

Re: O_TMPFILE fs corruption (Re: Linux 3.11-rc4)

2013-08-04 Thread Andrew Lutomirski
On Sun, Aug 4, 2013 at 8:45 PM, Linus Torvalds wrote: > The patch looks right to me - we should pass in similar flags for the > create case as for tmpfile to the filesystem. Alternatively, in case anyone ever wants to add more O_TMPFILE-related flags, open could return -EINVAL if __O_TMPFILE is s

LED module not creating /sys/class/leds entry

2013-08-04 Thread Ian Pilcher
I am trying to understand the LED API. I have created an extremely simple "dummy" LED module (see below), which loads without any errors, but /sys/class/leds is empty. Any pointers on what additional steps I need to take to get my "LED" to show up are greatly appreciated. Thanks! #include #inc

Re: [PATCH v2 2/3] sched: factor out code to should_we_balance()

2013-08-04 Thread Preeti U Murthy
On 08/02/2013 04:02 PM, Peter Zijlstra wrote: > On Fri, Aug 02, 2013 at 02:56:14PM +0530, Preeti U Murthy wrote: You need to iterate over all the groups of the sched domain env->sd and not just the first group of env->sd like you are doing above. This is to >>> >>> I don't think so. >>> I

Re: Linux 3.11-rc4

2013-08-04 Thread Felipe Contreras
On Sun, Aug 4, 2013 at 4:09 PM, Linus Torvalds wrote: > It's that time of the week again.. > > "You apply 339 patches, what do you get > Another week older and deeper in debt > Saint Peter don't you call me 'cause I can't go > I owe my soul to the company store" > > I had hoped things would

Re: [PATCH 11/13] ptrace: PTRACE_DETACH should do flush_ptrace_hw_breakpoint(child)

2013-08-04 Thread Felipe Contreras
On Mon, May 13, 2013 at 10:17 AM, Oleg Nesterov wrote: > Change ptrace_detach() to call flush_ptrace_hw_breakpoint(child). > This frees the slots for non-ptrace PERF_TYPE_BREAKPOINT users, and > this ensures that the tracee won't be killed by SIGTRAP triggered by > the active breakpoints. There i

Re: [PATCH] ceph: fix null pointer dereference

2013-08-04 Thread Sage Weil
Looks right, applied to the testing branch. Thanks! sage On Sun, 4 Aug 2013, Nathaniel Yazdani wrote: > When register_session() is given an out-of-range argument for mds, > ceph_mdsmap_get_addr() will return a null pointer, which would be given to > ceph_con_open() & be dereferenced, caus

Re: [PATCH cgroup/for-3.12] cgroup: make css_for_each_descendant() and friends include the origin css in the iteration

2013-08-04 Thread Li Zefan
> Previously, all css descendant iterators didn't include the origin > (root of subtree) css in the iteration. The reasons were maintaining > consistency with css_for_each_child() and that at the time of > introduction more use cases needed skipping the origin anyway; > however, given that css_is_

Re: [PATCH 0/2] Platform: x86: chromeos_laptop - Deferred Probing

2013-08-04 Thread Benson Leung
Hi Martin, I commented on your patch, but I want to add a little bit more in response here. On Thu, Jul 18, 2013 at 9:13 AM, Martin Nordholts wrote: > One downside with the solution in this set of patches is that more > lines are added to the driver. > By making use of the i2c_driver.detect() me

[PATCH] ceph: fix null pointer dereference

2013-08-04 Thread Nathaniel Yazdani
When register_session() is given an out-of-range argument for mds, ceph_mdsmap_get_addr() will return a null pointer, which would be given to ceph_con_open() & be dereferenced, causing a kernel oops. This fixes bug #4685 in the Ceph bug tracker . Signed

Re: Cannot hot remove a memory device

2013-08-04 Thread Yasuaki Ishimatsu
(2013/08/04 9:37), Toshi Kani wrote: On Sat, 2013-08-03 at 03:01 +0200, Rafael J. Wysocki wrote: On Friday, August 02, 2013 06:04:40 PM Toshi Kani wrote: On Sat, 2013-08-03 at 01:43 +0200, Rafael J. Wysocki wrote: On Friday, August 02, 2013 03:46:15 PM Toshi Kani wrote: On Thu, 2013-08-01 at

Re: [PATCH] hostap: do not return positive number on failure path in prism2_open()

2013-08-04 Thread Alexey Khoroshilov
On 08/05/2013 07:33 AM, Joe Perches wrote: > On Mon, 2013-08-05 at 07:18 +0400, Alexey Khoroshilov wrote: >> prism2_open() as an .ndo_open handler should not return positive numbers >> in case of failure, but it does return 1 in a couple of places. >> >> Found by Linux Driver Verification project (

Re: [PATCH 0/1] Platform: x86: chromeos_laptop - convert to i2c_driver to handle i915 race

2013-08-04 Thread Benson Leung
Hi Martin, Thank you for looking into this problem. Obviously, this is a problem Olof and our team has been working on as well. On Thu, Jul 18, 2013 at 8:58 AM, wrote: > From: Martin Nordholts > > Hello, > > I have looked into solving the "touchpad/touchscreen not working on > boot"-problem on

Re: O_TMPFILE fs corruption (Re: Linux 3.11-rc4)

2013-08-04 Thread Linus Torvalds
The patch looks right to me - we should pass in similar flags for the create case as for tmpfile to the filesystem. But let's make sure we're all on the same page. Al? Linus On Sun, Aug 4, 2013 at 7:34 PM, Andy Lutomirski wrote: > On 08/04/2013 02:09 PM, Linus Torvalds wrote: >

Re: [patch v2 3/3] mm: page_alloc: fair zone allocator policy

2013-08-04 Thread Johannes Weiner
On Mon, Aug 05, 2013 at 10:15:46AM +0900, Minchan Kim wrote: > Hello Hannes, > > On Fri, Aug 02, 2013 at 11:37:26AM -0400, Johannes Weiner wrote: > > Each zone that holds userspace pages of one workload must be aged at a > > speed proportional to the zone size. Otherwise, the time an > > individu

Re: [PATCH V2 4/4] x86: correctly detect hypervisor

2013-08-04 Thread Jason Wang
On 07/25/2013 04:54 PM, Jason Wang wrote: > We try to handle the hypervisor compatibility mode by detecting hypervisor > through a specific order. This is not robust, since hypervisors may implement > each others features. > > This patch tries to handle this situation by always choosing the last on

Re: [PATCH] hostap: do not return positive number on failure path in prism2_open()

2013-08-04 Thread Joe Perches
On Mon, 2013-08-05 at 07:18 +0400, Alexey Khoroshilov wrote: > prism2_open() as an .ndo_open handler should not return positive numbers > in case of failure, but it does return 1 in a couple of places. > > Found by Linux Driver Verification project (linuxtesting.org). How? http://linuxtesting.or

Re: [PATCH 5/5] memcg: rename cgroup_event to mem_cgroup_event

2013-08-04 Thread Li Zefan
On 2013/8/5 0:07, Tejun Heo wrote: > cgroup_event is only available in memcg now. Let's brand it that way. > While at it, add a comment encouraging deprecation of the feature and > remove the respective section from cgroup documentation. > > This patch is cosmetic. > > Signed-off-by: Tejun Heo

Re: [PATCH v2 RESEND 05/18] x86, ACPICA: Split acpi_boot_table_init() into two parts.

2013-08-04 Thread Tang Chen
Hi Rafael, On 08/02/2013 09:00 PM, Rafael J. Wysocki wrote: .. This patch splits acpi_boot_table_init() into two steps: 1. Parse RSDT, which cannot be overrided, and initialize acpi_gbl_root_table_list. (step 1 + 2 above) 2. Install all ACPI tables into acpi_gbl_root_table_list. (ste

[PATCH] hostap: do not return positive number on failure path in prism2_open()

2013-08-04 Thread Alexey Khoroshilov
prism2_open() as an .ndo_open handler should not return positive numbers in case of failure, but it does return 1 in a couple of places. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov --- drivers/net/wireless/hostap/hostap_main.c | 4 ++-- 1 fil

Re: [PATCH] hostap: do not return positive number on failure path in prism2_open()

2013-08-04 Thread Alexey Khoroshilov
Please ignore this mail, there is a misprint in signed-off line. I will resend the patch. On 08/05/2013 07:02 AM, Alexey Khoroshilov wrote: > prism2_open() as an .ndo_open handler should not return positive numbers > in case of failure, but it does return 1 in a couple of places. > > Found by Linu

Re: [Cluster-devel] [Patch net-next v2 6/8] fs: use generic union inet_addr and helper functions

2013-08-04 Thread Cong Wang
On Fri, 2013-08-02 at 03:31 -0700, Christoph Hellwig wrote: > On Fri, Aug 02, 2013 at 03:14:32PM +0800, Cong Wang wrote: > > From: Cong Wang > > > > nfs and cifs define some helper functions for sockaddr, > > they can use the generic functions for union inet_addr too. > > > > Since some dlm code

Re: [PATCH 3/5] cgroup, memcg: move cgroup_event implementation to memcg

2013-08-04 Thread Li Zefan
于 2013/8/5 0:07, Tejun Heo 写道: > cgroup_event is way over-designed and tries to build a generic > flexible event mechanism into cgroup - fully customizable event > specification for each user of the interface. This is utterly > unnecessary and overboard especially in the light of the planned > uni

Re: [PATCH][RFC] CPU Jitter random number generator (resent)

2013-08-04 Thread Stephan Mueller
Am Dienstag, 21. Mai 2013, 17:39:49 schrieb Sandy Harris: Hi Sandy, Ted, I prepared a new release of the CPU Jitter RNG available at [1]. The core of the RNG remains unchanged. However, there are the following changes: - addition of a patch to integrate the RNG into /dev/random as explained i

Re: [PATCH 3/8] Add all memory via sysfs probe interface at once

2013-08-04 Thread Michael Ellerman
On Fri, Aug 02, 2013 at 02:13:06PM -0500, Nathan Fontenot wrote: > On 08/01/2013 09:32 PM, Michael Ellerman wrote: > > On Wed, Jul 24, 2013 at 01:37:47PM -0500, Nathan Fontenot wrote: > >> When doing memory hot add via the 'probe' interface in sysfs we do not > >> need to loop through and add memor

Re: [PATCH 2/8] Mark powerpc memory resources as busy

2013-08-04 Thread Michael Ellerman
On Fri, Aug 02, 2013 at 02:05:57PM -0500, Nathan Fontenot wrote: > On 08/01/2013 09:28 PM, Michael Ellerman wrote: > > On Wed, Jul 24, 2013 at 01:36:34PM -0500, Nathan Fontenot wrote: > >> Memory I/O resources need to be marked as busy or else we cannot remove > >> them when doing memory hot remove

Re: [Patch net-next v2 1/8] net: introduce generic union inet_addr

2013-08-04 Thread Cong Wang
On Fri, 2013-08-02 at 14:50 -0700, David Miller wrote: > From: Cong Wang > Date: Fri, 2 Aug 2013 15:14:27 +0800 > > > From: Cong Wang > > > > Introduce a generic IP address type, union inet_addr, so that > > subsystems don't have to use their own definitions. Because > > netpoll already define

[PULL] fixes

2013-08-04 Thread Rusty Russell
The following changes since commit 3b2f64d00c46e1e4e9bd0bb9bb12619adac27a4b: Linux 3.11-rc2 (2013-07-21 12:05:29 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux.git tags/fixes-for-linus for you to fetch changes up to aa52aeea2725839b

Re: [PATCH 1/3] tracing: add ftrace_trace_stack into __trace_puts/__trace_bputs

2013-08-04 Thread zhangwei(Jovi)
On 2013/7/18 16:31, zhangwei(Jovi) wrote: > Currently trace option stacktrace is not applicable for > trace_printk with constant string argument, the reason is > there missed ftrace_trace_stack in __trace_puts/__trace_bputs. > > In contrast, when using trace_printk with not constant string > argum

Re: [PATCH] tracing: fix wrong output of the __array field type string

2013-08-04 Thread zhangwei(Jovi)
On 2013/7/27 14:35, zhangwei(Jovi) wrote: > A bug was found in events/sched/sched_switch/format. > > field:char prev_comm[32]; offset:8; size:16; > signed:1; > > and prev_comm field is defined as: > > __array(char, prev_comm, TASK_COMM_LEN ) > >

Re: How kernel handle interrupts[AX88796B network controller]

2013-08-04 Thread Woody Wu
On Mon, Jan 07, 2013 at 10:06:30PM +0530, anish kumar wrote: > On Sat, 2012-12-22 at 23:11 +0800, Woody Wu wrote: > > On Fri, Dec 21, 2012 at 01:33:03PM -0800, anish kumar wrote: > > > On Fri, 2012-12-21 at 23:34 +0800, Woody Wu wrote: > > > > On Thu, Dec 20, 2012 at 10:05:05AM -0800, anish singh w

[PATCH] hostap: do not return positive number on failure path in prism2_open()

2013-08-04 Thread Alexey Khoroshilov
prism2_open() as an .ndo_open handler should not return positive numbers in case of failure, but it does return 1 in a couple of places. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov --- drivers/net/wireless/hostap/hostap_main.c | 4 ++-- 1 fil

[PATCH v3 1/3] Type fix on HOWTO in ko_KR

2013-08-04 Thread Lee, Jae-Hong
From: "Lee, Jae-Hong" This patch fixes some minor typos in Documentation/ko_KR/HOWTO. Signed-off-by: Lee, Jae-Hong Acked-by: Minchan Kim --- Documentation/ko_KR/HOWTO | 21 +++-- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/Documentation/ko_KR/HOWTO b/Docu

BUG cxgb3: Check and handle the dma mapping errors

2013-08-04 Thread Alexey Kardashevskiy
Hi! Recently I started getting multiple errors like this: cxgb3 0006:01:00.0: iommu_alloc failed, tbl c3067980 vaddr c01fbdaaa882 npages 1 cxgb3 0006:01:00.0: iommu_alloc failed, tbl c3067980 vaddr c01fbdaaa882 npages 1 cxgb3 0006:01:00.0: iommu_alloc failed, tbl c

Re: arch/x86/kernel/cpu/intel.c needs an update for Haswell?

2013-08-04 Thread H. Peter Anvin
On 08/04/2013 07:48 PM, Alex Shi wrote: > > Any comments on this, Peter? :) > Sounds like you have done the measurements, so it seems fine. -hpa -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordo

Re: [PATCH 2/5] cgroup: export __cgroup_from_dentry() and __cgroup_dput()

2013-08-04 Thread Li Zefan
> +struct cgroup *__cgroup_from_dentry(struct dentry *dentry, struct cftype > **cftp) > { > - if (file_inode(file)->i_fop != &cgroup_file_operations) > - return ERR_PTR(-EINVAL); > - return __d_cft(file->f_dentry); > + if (!dentry->d_inode || > + dentry->d_inode->i

Re: [PATCH v2 1/3] Type fix on HOWTO in ko_KR

2013-08-04 Thread Minchan Kim
On Mon, Aug 05, 2013 at 11:38:25AM +0900, Lee, Jae-Hong wrote: > From: "Lee, Jae-Hong" > > This patch fixes some minor typos in Documentation/ko_KR/HOWTO. > > Signed-off-by: Lee, Jae-Hong > Acked-by: Minchan Kim > --- > Documentation/ko_KR/HOWTO | 21 +++-- > 1 file changed,

Re: [patch 1/2] [PATCH] mm: Save soft-dirty bits on swapped pages

2013-08-04 Thread Minchan Kim
On Mon, Aug 05, 2013 at 10:38:58AM +0800, Wanpeng Li wrote: > Hi Minchan, > > On Mon, Aug 05, 2013 at 11:17:15AM +0900, Minchan Kim wrote: > >Hello Wanpeng, > > > >On Mon, Aug 05, 2013 at 09:48:29AM +0800, Wanpeng Li wrote: > >> On Wed, Jul 31, 2013 at 12:41:55AM +0400, Cyrill Gorcunov wrote: > >>

Re: arch/x86/kernel/cpu/intel.c needs an update for Haswell?

2013-08-04 Thread Alex Shi
On 08/01/2013 04:53 PM, Alex Shi wrote: > From 1322ea9e17ad4d9e49e2d93cfc04805368e28273 Mon Sep 17 00:00:00 2001 > From: Alex Shi > Date: Thu, 1 Aug 2013 16:30:23 +0800 > Subject: [PATCH 2/2] tlb/tlb_flushall_shift: add haswell tlb_flush_shift > > Tested on i5 4350U with munmap case, https://lkml

Re: arch/x86/kernel/cpu/intel.c needs an update for Haswell?

2013-08-04 Thread Alex Shi
On 08/01/2013 05:07 PM, Alex Shi wrote: > From 6fb21a9ce475cfc6c7c39bdfd3d9422be24cdb74 Mon Sep 17 00:00:00 2001 > From: Alex Shi > Date: Wed, 31 Jul 2013 16:28:42 +0800 > Subject: [PATCH 1/2] x86/tlb_flushall_shift: add Ivybridge EP CPU support > > Tested with munmap.c on Ivybridge EP 2S machine

[PATCH v2 2/3] Type fix on stable_api_nonsense.txt

2013-08-04 Thread Lee, Jae-Hong
From: "Lee, Jae-Hong" This patch fixes some minor typos in Documentation/ko_KR/stable_api_nonsense.txt Signed-off-by: Lee, Jae-Hong Acked-by: Minchan Kim --- Documentation/ko_KR/stable_api_nonsense.txt |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Documentation/

[PATCH v2 3/3] Correct unfaithful translation on HOWTO in ko_KR

2013-08-04 Thread Lee, Jae-Hong
From: "Lee, Jae-Hong" This patch corrects unfaithful Korean translation in Documentation/ko_KR/HOWTO. Signed-off-by: Lee, Jae-Hong Acked-by: Minchan Kim --- Documentation/ko_KR/HOWTO |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/ko_KR/HOWTO b/Documen

Re: [PATCH net] busy_poll: cleanup do-nothing placeholders

2013-08-04 Thread David Miller
From: Eliezer Tamir Date: Sun, 04 Aug 2013 12:55:48 +0300 > When renaming ll_poll to busy poll, I introduced a typo > in the name of the do-nothing placeholder for sk_busy_loop > and called it sk_busy_poll. > This broke compile when busy poll was not configured. > Cong Wang submitted a patch to f

[PATCH] perf, tools: Increase the file descriptor limits

2013-08-04 Thread Andi Kleen
From: Andi Kleen perf stat -a needs 10 open file descriptors per logical CPU perf stat -a - needs 20 open fds for each. This implies that stat -a doesn't work on any system with the default ulimit -n 1024 which has more than ~100 CPUs and stat -a - doesn't work on anything with more than

O_TMPFILE fs corruption (Re: Linux 3.11-rc4)

2013-08-04 Thread Andy Lutomirski
On 08/04/2013 02:09 PM, Linus Torvalds wrote: It's that time of the week again.. I still get filesystem corruption with O_TMPFILE. The program below, run as flinktest foo proc (or flinktest foo linkat if you're root) will produce a bogus inode. On ext4, once the inode is gone from cache, th

[PATCH v2 1/3] Type fix on HOWTO in ko_KR

2013-08-04 Thread Lee, Jae-Hong
From: "Lee, Jae-Hong" This patch fixes some minor typos in Documentation/ko_KR/HOWTO. Signed-off-by: Lee, Jae-Hong Acked-by: Minchan Kim --- Documentation/ko_KR/HOWTO | 21 +++-- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/Documentation/ko_KR/HOWTO b/Docu

Re: [PATCH] Add per-process flag to control thp

2013-08-04 Thread Andi Kleen
Alex Thorlton writes: >> What kind of workloads are you talking about? > > Our benchmarking team has a list of several of the SPEC OMP benchmarks > that perform significantly better when THP is disabled. I tried to get > the list but one of our servers is acting up and I can't get to it > right n

[PATCH] RFC: perf, tools: Move gtk browser into separate perfgtk executable

2013-08-04 Thread Andi Kleen
From: Andi Kleen By default perf currently links with the GTK2 gui. This pulls in a lot of external libraries. It also causes dependency problems for distribution packages: simply installing perf requires pulling in GTK2 with all its dependencies. I think the UI is valuable, but it shouldn't be

Re: [PATCH] arch: m68k: include: asm: define 'VM_DATA_DEFAULT_FLAGS' no matter whether has 'NOMMU' or not.

2013-08-04 Thread Chen Gang F T
On 08/05/2013 09:37 AM, Greg Ungerer wrote: > Hi Chen Gang, > > On 01/07/13 12:43, Chen Gang wrote: >> Hello Maintainers: >> >> Please help check the patch whether OK or not, when you have time. >> >> Thanks. >> >> On 06/22/2013 02:49 PM, Chen Gang wrote: >>> >>> Define 'VM_DATA_DEFAULT_FLAGS' whe

Re: [patch 1/2] [PATCH] mm: Save soft-dirty bits on swapped pages

2013-08-04 Thread Minchan Kim
Hello Wanpeng, On Mon, Aug 05, 2013 at 09:48:29AM +0800, Wanpeng Li wrote: > On Wed, Jul 31, 2013 at 12:41:55AM +0400, Cyrill Gorcunov wrote: > >Andy Lutomirski reported that in case if a page with _PAGE_SOFT_DIRTY > >bit set get swapped out, the bit is getting lost and no longer > >available when

Re: [PATCH v5 0/4] [SCSI] sg: fix race condition in sg_open

2013-08-04 Thread vaughan
On 08/03/2013 01:25 PM, Douglas Gilbert wrote: > On 13-08-01 01:01 AM, Douglas Gilbert wrote: >> On 13-07-22 01:03 PM, Jörn Engel wrote: >>> On Mon, 22 July 2013 12:40:29 +0800, Vaughan Cao wrote: There is a race when open sg with O_EXCL flag. Also a race may happen between sg_o

Re: [PATCH trivial] include/linux/coda.h: remove useless '#else'

2013-08-04 Thread Chen Gang
On 08/05/2013 09:53 AM, Chen Gang wrote: > On 08/05/2013 09:21 AM, Joe Perches wrote: >> On Mon, 2013-08-05 at 08:24 +0800, Chen Gang wrote: >>> On 07/31/2013 11:16 AM, Chen Gang F T wrote: On 07/31/2013 09:53 AM, Chen Gang wrote: > On 07/31/2013 09:44 AM, Chen Gang wrote: >> On 07/30/

Re: [PATCH 1/3] f2fs: add sysfs support for controlling the gc_thread

2013-08-04 Thread Gu Zheng
On 08/04/2013 10:09 PM, Namjae Jeon wrote: > From: Namjae Jeon > > Add sysfs entries to control the timing parameters for > f2fs gc thread. > > Various Sysfs options introduced are: > gc_min_sleep_time: Min Sleep time for GC in ms > gc_max_sleep_time: Max Sleep time for GC in ms > gc_no_gc_slee

Re: [PATCH 2/3] f2fs: add sysfs entries to select the gc policy

2013-08-04 Thread Gu Zheng
On 08/04/2013 10:10 PM, Namjae Jeon wrote: > From: Namjae Jeon > > Add sysfs entry gc_idle to control the gc policy. Where > gc_idle = 1 corresponds to selecting a cost benefit approach, > while gc_idle = 2 corresponds to selecting a greedy approach > to garbage collection. The selection is mutu

Re: [PATCH trivial] include/linux/coda.h: remove useless '#else'

2013-08-04 Thread Chen Gang
On 08/05/2013 09:21 AM, Joe Perches wrote: > On Mon, 2013-08-05 at 08:24 +0800, Chen Gang wrote: >> On 07/31/2013 11:16 AM, Chen Gang F T wrote: >>> On 07/31/2013 09:53 AM, Chen Gang wrote: On 07/31/2013 09:44 AM, Chen Gang wrote: > On 07/30/2013 08:29 PM, Joe Perches wrote: >> On Tue,

Re: [PATCH] fbdev: suppress warning when assigning vga-save/restore base

2013-08-04 Thread David Miller
From: "H. Peter Anvin" Date: Sun, 04 Aug 2013 10:33:46 -0700 > Anyone who can dig backwards and summarize? In other words: > > Where in the current code do we stuff a physical address in a pointer, > or a virtual address into a non-pointer? The VGA register accessors try to accomodate iomem an

[no subject]

2013-08-04 Thread System Administrator
Your Webmail Quota Has Exceeded The storage Limit set by the administrator,which can cause alot of spam mails OR phising scams to your webmail Box,You must reply to this email in the next 48 hours of receiving this e-mail,Failure to Re-validate Your Webmail Box May Result to Loss Of Important In

Re: [PATCH] arch: m68k: include: asm: define 'VM_DATA_DEFAULT_FLAGS' no matter whether has 'NOMMU' or not.

2013-08-04 Thread Greg Ungerer
Hi Chen Gang, On 01/07/13 12:43, Chen Gang wrote: > Hello Maintainers: > > Please help check the patch whether OK or not, when you have time. > > Thanks. > > On 06/22/2013 02:49 PM, Chen Gang wrote: >> >> Define 'VM_DATA_DEFAULT_FLAGS' when 'NOMMU' to pass compiling. >> >> So move it from "incl

Re: [PATCH v2 RESEND 07/18] x86, ACPI: Also initialize signature and length when parsing root table.

2013-08-04 Thread Tang Chen
Hi Rafael, On 08/02/2013 09:03 PM, Rafael J. Wysocki wrote: On Friday, August 02, 2013 05:14:26 PM Tang Chen wrote: Besides the phys addr of the acpi tables, it will be very convenient if we also have the signature of each table in acpi_gbl_root_table_list at early time. We can find SRAT easily

Re: [PATCH RFC nohz_full 2/7] nohz_full: Add rcu_dyntick data for scalable detection of all-idle state

2013-08-04 Thread Frederic Weisbecker
On Fri, Jul 26, 2013 at 04:19:19PM -0700, Paul E. McKenney wrote: > From: "Paul E. McKenney" > > This commit adds fields to the rcu_dyntick structure that are used to > detect idle CPUs. These new fields differ from the existing ones in > that the existing ones consider a CPU executing in user m

Re: [PATCH trivial] include/linux/coda.h: remove useless '#else'

2013-08-04 Thread Joe Perches
On Mon, 2013-08-05 at 08:24 +0800, Chen Gang wrote: > On 07/31/2013 11:16 AM, Chen Gang F T wrote: > > On 07/31/2013 09:53 AM, Chen Gang wrote: > >> On 07/31/2013 09:44 AM, Chen Gang wrote: > >>> On 07/30/2013 08:29 PM, Joe Perches wrote: > On Tue, 2013-07-30 at 15:30 +0800, Chen Gang wrote: >

  1   2   3   >