Re: [PATCH] proc/schedstat: Expose /proc/pid/schedstat if delay accounting is enabled

2015-06-25 Thread Naveen N. Rao
On 2015/06/25 11:00AM, Cong Wang wrote: On Thu, May 28, 2015 at 2:11 AM, Balbir Singh bsinghar...@gmail.com wrote: On Mon, May 25, 2015 at 12:42 PM, Naveen N. Rao naveen.n@linux.vnet.ibm.com wrote: /proc/pid/schedstat is currently only available if CONFIG_SCHEDSTATS is enabled. But,

Re: [PATCHv1 5/8] xen/balloon: rationalize memory hotplug stats

2015-06-25 Thread Daniel Kiper
On Thu, Jun 25, 2015 at 06:11:00PM +0100, David Vrabel wrote: The stats used for memory hotplug make no sense and are fiddled with in odd ways. Remove them and introduce total_pages to track the total number of pages (both populated and unpopulated) including those within hotplugged regions

Re: [PATCH v2] ipc: Modify message queue accounting to reflect both total user data and auxiliary kernel data

2015-06-25 Thread Marcus Gelderie
Hey all, answers in text below... TLDR: I can remove the QKERSIZE field, as I believe that it does not affect he RLIMIT accounting (details [=code] below). Question is: Should it? Before I provide another patch, I would appreciate another round of feedback, though. So... On Thu, Jun 25,

Re: [PATCHv1 5/8] xen/balloon: rationalize memory hotplug stats

2015-06-25 Thread Daniel Kiper
On Thu, Jun 25, 2015 at 08:38:36PM +0200, Daniel Kiper wrote: On Thu, Jun 25, 2015 at 06:11:00PM +0100, David Vrabel wrote: The stats used for memory hotplug make no sense and are fiddled with in odd ways. Remove them and introduce total_pages to track the total number of pages (both

Re: [RFC][PATCH 05/13] percpu-rwsem: Optimize readers and reduce global impact

2015-06-25 Thread Tejun Heo
Hello, On Thu, Jun 25, 2015 at 09:08:00PM +0200, Peter Zijlstra wrote: mm/memcontrol.c:mem_cgroup_read_events mm/memcontrol.c:mem_cgroup_read_stat Those seem to be hotplug challenged. I'm thinking dropping that nocpu_base.count[] crap and just iterating all possible CPUs would've been

[PATCH] i8042: Add debug_kbd option

2015-06-25 Thread cpaul
From: Stephen Chandler Paul cp...@redhat.com A big problem with the current i8042 debugging option is that it outputs data going to and from the keyboard by default. As a result, many dmesg logs uploaded by users will unintentionally contain sensitive information such as their password, as such

[PATCH V11 0/9] Hot cpu handling changes to cqm,rapl and Intel Cache Allocation support

2015-06-25 Thread Vikas Shivappa
This patch has some changes to hot cpu handling code in existing cache monitoring and RAPL kernel code. This improves hot cpu notification handling by not looping through all online cpus which could be expensive in large systems. Cache allocation patches(dependent on prep patches) adds a cgroup

Re: [PATCH] iop-adma: detangle dma_alloc_writecombine() use and check

2015-06-25 Thread Luis R. Rodriguez
On Wed, Jun 24, 2015 at 4:32 PM, Luis R. Rodriguez mcg...@suse.com wrote: On Tue, Jun 16, 2015 at 12:40 PM, Luis R. Rodriguez mcg...@do-not-panic.com wrote: From: Luis R. Rodriguez mcg...@suse.com dma_alloc_writecombine()'s call and return value check is tangled in all in one call. Detangle

Re: [RFC PATCH 00/10] redesign compaction algorithm

2015-06-25 Thread Mel Gorman
On Fri, Jun 26, 2015 at 03:14:39AM +0900, Joonsoo Kim wrote: It could though. Reclaim/compaction is entered for orders higher than PAGE_ALLOC_COSTLY_ORDER and when scan priority is sufficiently high. That could be adjusted if you have a viable case where orders PAGE_ALLOC_COSTLY_ORDER

Re: [PATCH] keystone: psci: adds cpu_die implementation

2015-06-25 Thread santosh shilimkar
On 6/25/2015 10:20 AM, Mark Rutland wrote: I need rework and re-test the patch. One more question. Shall I post the dts related commit, which add PSCI command together with this commit? Or it may be posted later independently? The DTS and Kconfig changes can be seaprate patches, but they'll

Re: [PATCH] ARM: use phys_addr_t in pfn_to_kaddr()

2015-06-25 Thread santosh shilimkar
On 6/25/2015 9:33 AM, Nicolas Pitre wrote: On Wed, 24 Jun 2015, santosh shilimkar wrote: On 6/23/2015 8:13 AM, Vitaly Andrianov wrote: This patch fixes pfn_to_kaddr() to use phys_addr_t. Without this, this macro is broken on LPAE systems. For physical addresses above first 4GB result of

Re: [PATCH v2 15/17] libnvdimm: Set numa_node to NVDIMM devices

2015-06-25 Thread Dan Williams
On Thu, Jun 25, 2015 at 10:45 AM, Toshi Kani toshi.k...@hp.com wrote: On Thu, 2015-06-25 at 05:37 -0400, Dan Williams wrote: From: Toshi Kani toshi.k...@hp.com ACPI NFIT table has System Physical Address Range Structure entries that describe a proximity ID of each range when

Re: [PATCHv1 3/8] x86/xen: discard RAM regions above the maximum reservation

2015-06-25 Thread Daniel Kiper
On Thu, Jun 25, 2015 at 06:10:58PM +0100, David Vrabel wrote: During setup, discard RAM regions that are above the maximum reservation (instead of marking them as E820_UNUSABLE). This allows hotplug memory to be placed at these addresses. Signed-off-by: David Vrabel david.vra...@citrix.com

[PULL REQUEST] i2c for 4.2

2015-06-25 Thread Wolfram Sang
Linus, here is the I2C pull request. Highlights: * new drivers for Mediatek I2C, APM X-Gene, Broadcom Settop * major updates to at91, davinci * bugfixes to the mux infrastructure when dealing with the new quirk mechanism * more users for the bus recovery feature * further improvements to the

[PATCH 2/2] dma: rename dma_*_writecombine() to dma_*_wc()

2015-06-25 Thread Luis R. Rodriguez
From: Luis R. Rodriguez mcg...@suse.com Rename dma_*_writecombine() to dma_*_wc(), so that the naming is coherent across the various write-combining APIs. The following Coccinelle SmPL patch was used for this simple transformation: @ rename_dma_alloc_writecombine @ expression dev, size,

Re: [RFC PATCH 00/10] redesign compaction algorithm

2015-06-25 Thread Vlastimil Babka
On 25.6.2015 20:14, Joonsoo Kim wrote: The long-term success rate of fragmentation avoidance depends on minimsing the number of UNMOVABLE allocation requests that use a pageblock belonging to another migratetype. Once such a fallback occurs, that pageblock potentially can never be used for

Re: [PATCH 0/3] TLB flush multiple pages per IPI v5

2015-06-25 Thread Vlastimil Babka
On 25.6.2015 20:36, Linus Torvalds wrote: On Jun 25, 2015 04:48, Ingo Molnar mi...@kernel.org mailto:mi...@kernel.org wrote: - 1x, 2x, 3x, 4x means up to 4 adjacent 4K vmalloc()-ed pages are accessed, the first byte in each So that test is a bit unfair. From previous timing of

[PATCH 1/9] x86/intel_cqm: Modify hot cpu notification handling

2015-06-25 Thread Vikas Shivappa
This patch modifies hot cpu notification handling in Intel cache monitoring: - to add a new cpu to the cqm_cpumask(which has one cpu per package) during cpu start, it uses the existing package-core map instead of looping through all cpus in cqm_cpumask. - to search for the next online

[PATCH 8/9] x86/intel_rdt: Hot cpu support for Cache Allocation

2015-06-25 Thread Vikas Shivappa
This patch adds hot cpu support for Intel Cache allocation. Support includes updating the cache bitmask MSRs IA32_L3_QOS_n when a new CPU package comes online. The IA32_L3_QOS_n MSRs are one per Class of service on each CPU package. The new package's MSRs are synchronized with the values of

[PATCH 9/9] x86/intel_rdt: Intel haswell Cache Allocation enumeration

2015-06-25 Thread Vikas Shivappa
Cache Allocation on hsw(haswell) needs to be enumerated separately as HSW does not have support for CPUID enumeration for Cache Allocation. Cache Allocation is only supported on certain HSW SKUs. This patch does a probe test for hsw CPUs by writing a CLOSid(Class of service id) into high 32 bits

[PATCH 6/9] x86/intel_rdt: Add support for cache bit mask management

2015-06-25 Thread Vikas Shivappa
The change adds a file cache_mask to the RDT cgroup which represents the cache bit mask(CBM) for the cgroup. cache_mask is specific to the Cache allocation sub-feature of RDT. The tasks in the RDT cgroup would get to fill the L3 cache represented by the cgroup's cache_mask file. Update to the CBM

Re: [PATCH] proc/schedstat: Expose /proc/pid/schedstat if delay accounting is enabled

2015-06-25 Thread Cong Wang
On Thu, May 28, 2015 at 2:11 AM, Balbir Singh bsinghar...@gmail.com wrote: On Mon, May 25, 2015 at 12:42 PM, Naveen N. Rao naveen.n@linux.vnet.ibm.com wrote: /proc/pid/schedstat is currently only available if CONFIG_SCHEDSTATS is enabled. But, all the fields that this exposes are available

Re: [PATCHv1 4/8] xen/balloon: find non-conflicting regions to place hotplugged memory

2015-06-25 Thread Daniel Kiper
On Thu, Jun 25, 2015 at 06:10:59PM +0100, David Vrabel wrote: Instead of placing hotplugged memory at the end of RAM (which may conflict with PCI devices or reserved regions) use allocate_resource() to get a new, suitably aligned resource that does not conflict. Signed-off-by: David Vrabel

RE: [PATCH] cciss: update copyright

2015-06-25 Thread Elliott, Robert (Server Storage)
-Original Message- From: Don Brace [mailto:don.br...@pmcs.com] Sent: Thursday, June 25, 2015 7:48 PM To: gerry.mor...@pmcs.com; ax...@kernel.uk; storage...@pmcs.com; ISS StorageDev; scott.ben...@pmcs.com Cc: linux-kernel@vger.kernel.org Subject: [PATCH] cciss: update copyright

Re: [PATCH v5 3/3] locking/qrwlock: Don't contend with readers when setting _QW_WAITING

2015-06-25 Thread Peter Zijlstra
On Fri, Jun 19, 2015 at 11:50:02AM -0400, Waiman Long wrote: The current cmpxchg() loop in setting the _QW_WAITING flag for writers in queue_write_lock_slowpath() will contend with incoming readers causing possibly extra cmpxchg() operations that are wasteful. This patch changes the code to do

[PATCH 1/2] iop-adma: detangle dma_alloc_writecombine() use and check

2015-06-25 Thread Luis R. Rodriguez
From: Luis R. Rodriguez mcg...@suse.com dma_alloc_writecombine()'s call and return value check is tangled in all in one call. Detangle both calls as we're used to. Cc: Vinod Koul vinod.k...@intel.com Cc: Dan Williams dan.j.willi...@intel.com Cc: dmaeng...@vger.kernel.org Cc:

Re: [RFC][PATCH 05/13] percpu-rwsem: Optimize readers and reduce global impact

2015-06-25 Thread Peter Zijlstra
On Tue, Jun 23, 2015 at 09:28:11AM +0200, Nicholas Mc Guire wrote: A bit off-topic probably but maybe this should not be in kernel/locking/percpu-rwsem.c but in a generic percpu location as this construct is present in the core a few times atleast in: kernel/irq/irqdesc.c:kstat_irqs

Re: [RFC][PATCH] printk: Fixup the nmi printk mess

2015-06-25 Thread Peter Zijlstra
On Fri, Jun 12, 2015 at 05:35:05PM +0200, Petr Mladek wrote: I have got another idea. We already use a lock to synchronize readers. It might be used to avoid the race and keep the global flush(). I played with it, see below. It is based on 2nd Peter's patch where I modified only struct

Re: [PATCH v2 15/17] libnvdimm: Set numa_node to NVDIMM devices

2015-06-25 Thread Williams, Dan J
On Thu, 2015-06-25 at 11:45 -0600, Toshi Kani wrote: On Thu, 2015-06-25 at 05:37 -0400, Dan Williams wrote: From: Toshi Kani toshi.k...@hp.com ACPI NFIT table has System Physical Address Range Structure entries that describe a proximity ID of each range when ACPI_NFIT_PROXIMITY_VALID is

Re: [PATCH] proc/schedstat: Expose /proc/pid/schedstat if delay accounting is enabled

2015-06-25 Thread Cong Wang
On Thu, Jun 25, 2015 at 11:27 AM, Naveen N. Rao naveen.n@linux.vnet.ibm.com wrote: The primary issue with CONFIG_SCHEDSTATS is the (slight) additional overhead it introduces, per Kconfig. Due to this, it is not enabled by default by some of the distro kernels. The overhead is same for

Re: [PATCH 0/3] TLB flush multiple pages per IPI v5

2015-06-25 Thread Dave Hansen
On 06/25/2015 04:48 AM, Ingo Molnar wrote: I've updated the benchmarks with 4K flushes as well. Changes to the previous measurement: Did you push these out somewhere? The tip tmp.fpu branch hasn't seen any updates. -- To unsubscribe from this list: send the line unsubscribe linux-kernel in

[PATCH 0/2] dma: rename write-combine APIs with short form

2015-06-25 Thread Luis R. Rodriguez
From: Luis R. Rodriguez mcg...@suse.com Boris, Ingo, Ingo had asked for this to be kept in my tree until the end of the merge window. It seems its that time now so sending this out. I'll note that there are a few outstanding series related to MTRR, but those do not have conflicts with these

[GIT PULL] RTC for 4.2

2015-06-25 Thread Alexandre Belloni
Hi Linus, Here is the pull-request for the RTC susbsystem for 4.2. This is my first pull-request to you, don't hesitate to tell me if I need to adjust something. Conflicts: drivers/rtc/Makefile Trivial add/add conflicts with the mfd tree, solved in linux-next Resolution: take both sides.

[PATCH 5/9] x86/intel_rdt: Add new cgroup and Class of service management

2015-06-25 Thread Vikas Shivappa
This patch adds a cgroup subsystem for Intel Resource Director Technology(RDT) feature and Class of service(CLOSid) management which is part of common RDT framework. This cgroup would eventually be used by all sub-features of RDT and hence be associated with the common RDT framework as well as

[PATCH 3/9] x86/intel_rdt: Cache Allocation documentation and cgroup usage guide

2015-06-25 Thread Vikas Shivappa
Adds a description of Cache allocation technology, overview of kernel implementation and usage of Cache Allocation cgroup interface. Cache allocation is a sub-feature of Resource Director Technology(RDT) Allocation or Platform Shared resource control which provides support to control Platform

[PATCH 3/3] drm/msm/mdp5: Add plane blending operation support for MDP5(V2)

2015-06-25 Thread Jilai Wang
This change is to add properties alpha/zpos/blend_mode to mdp5 plane for alpha blending operation to generate the blended output. V1: Initial change V2: Change premultilied property to enum (Rob's comment) Signed-off-by: Jilai Wang jil...@codeaurora.org ---

[PATCH 5/6] blkcg: move io_service_bytes and io_serviced stats into blkcg_gq

2015-06-25 Thread Tejun Heo
Currently, both cfq-iosched and blk-throttle keep track of io_service_bytes and io_serviced stats. While keeping track of them separately may be useful during development, it doesn't make much sense otherwise. Also, blkcg stats are collected at different points and ignoring blk_do_io_stat()

[PATCH 3/6] blkcg: make blkcg_[rw]stat per-cpu

2015-06-25 Thread Tejun Heo
blkcg_[rw]stat are used as stat counters for blkcg policies. It isn't per-cpu by itself and blk-throttle makes it per-cpu by wrapping around it. This patch makes blkcg_[rw]stat per-cpu and drop the ad-hoc per-cpu wrapping in blk-throttle. * blkg_[rw]stat-cnt is replaced with cpu_cnt which is

Re: [RFC v4 06/31] richacl: In-memory representation and helper functions

2015-06-25 Thread Stefan (metze) Metzmacher
Hi Andreas, I'm wondering if the size of an ace should be dynamic, which might make it possible to support other ace types in future. E.g. supporting other identities like 128-bit values to make it easier to map Windows SIDS. I'm working on additionally supporting unmapped user@domain and

RE: [PATCH v7 5/9] PCI: Add pci_iomap_wc() variants

2015-06-25 Thread Casey Leedom
| From: Arnd Bergmann [a...@arndb.de] | Sent: Thursday, June 25, 2015 1:44 PM | | On Thursday 25 June 2015 15:01:56 Casey Leedom wrote: | |Is there a reference I can read on this so I can understand | when and where we can use the __raw_*() APIs? Can these | Raw Read/Write operations be

Re: [PATCH] mm: meminit: Finish initialisation of struct pages before basic setup

2015-06-25 Thread Nathan Zimmer
On Thu, Jun 25, 2015 at 09:48:55PM +0100, Mel Gorman wrote: On Wed, Jun 24, 2015 at 05:50:28PM -0500, Nathan Zimmer wrote: My apologies for taking so long to get back to this. I think I did locate two potential sources of slowdown. One is the set_cpus_allowed_ptr as I have noted

Re: Write throughput impaired by touching dirty_ratio

2015-06-25 Thread Mark Hills
On Thu, 25 Jun 2015, Michal Hocko wrote: On Wed 24-06-15 23:26:49, Mark Hills wrote: [...] To test, I flipped the vm_highmem_is_dirtyable (which had no effect until I forced it to re-evaluate ratelimit_pages): $ echo 1 /proc/sys/vm/highmem_is_dirtyable $ echo 21

Re: Linux 4.0.6 breaks my disk/lvm/filesystem setup

2015-06-25 Thread Christian Hesse
David Herrmann dh.herrm...@gmail.com on Thu, 2015/06/25 14:01: Hi On Thu, Jun 25, 2015 at 9:05 AM, Christian Hesse l...@eworm.de wrote: Hello everybody, I kind of nailed the issue. Adding CC to Greg for kdbus and to Herbert for the bad commit. Details are below. Christian Hesse

Re: [PATCH v2 15/17] libnvdimm: Set numa_node to NVDIMM devices

2015-06-25 Thread Toshi Kani
On Thu, 2015-06-25 at 14:31 -0700, Dan Williams wrote: On Thu, Jun 25, 2015 at 11:34 AM, Williams, Dan J dan.j.willi...@intel.com wrote: On Thu, 2015-06-25 at 11:45 -0600, Toshi Kani wrote: On Thu, 2015-06-25 at 05:37 -0400, Dan Williams wrote: From: Toshi Kani toshi.k...@hp.com

Re: [PATCH v2 15/17] libnvdimm: Set numa_node to NVDIMM devices

2015-06-25 Thread Dan Williams
On Thu, Jun 25, 2015 at 3:11 PM, Toshi Kani toshi.k...@hp.com wrote: On Thu, 2015-06-25 at 15:00 -0700, Dan Williams wrote: Yes, I see no problem with bound BTTs and their device files. So, how do we bind BTT with this new version? # cd /sys/bus/nd/devices # uuidgen btt6/uuid # echo 4096

[PATCH] clk: qcom: Use parent rate when set rate to pixel RCG clock

2015-06-25 Thread Hai Li
Since the parent rate has been recalculated, pixel RCG clock should rely on it to find the correct M/N values during set_rate, instead of calling __clk_round_rate() to its parent again. Signed-off-by: Hai Li h...@codeaurora.org --- drivers/clk/qcom/clk-rcg2.c | 3 ++- 1 file changed, 2

[PATCH] staging: gdm72xx: Split Kconfig descriptions into more lines

2015-06-25 Thread Daniel Grimshaw
I am a high school student trying to become familiar with linux kernel development. This is my first patch. checkpatch.pl throws a warning that config WIMAX_GDM72XX_QOS, config WIMAX_GDM72XX_K_MODE, and config WIMAX_GDM72XX_USB do not have enough of a description. By splitting the current

Re: [8/8] powerpc/perf: cleanup in perf_event_print_debug()

2015-06-25 Thread Michael Ellerman
On Thu, 2015-11-06 at 08:43:37 UTC, Madhavan Srinivasan wrote: From: Janani janan...@linux.vnet.ibm.com Code cleanup/fix in perf_event_print_debug(). Performance Monitoring Unit (PMU) registers in the server side are 64bit long. No they're not, see the ISA, figure 17. cheers -- To

Re: [PATCH v7 5/9] PCI: Add pci_iomap_wc() variants

2015-06-25 Thread Benjamin Herrenschmidt
On Thu, 2015-06-25 at 21:40 +, Casey Leedom wrote: Hhmmm, so what do PowerPC Drivers do when they want to take advantage of Write Combining? Do their own Endian Swizzling with the __raw_*() APIs? Yeah either, we need to fix our relaxed implementation (patch welcome :-) Cheers, Ben. --

Re: [PATCH 07/36] HMM: add per mirror page table v3.

2015-06-25 Thread Mark Hairgrove
On Thu, 21 May 2015, j.gli...@gmail.com wrote: From: Jérôme Glisse jgli...@redhat.com [...] + /* update() - update device mmu following an event. + * + * @mirror: The mirror that link process address space with the device. + * @event: The event that triggered the

[RFC][PATCH] prctl: Add PR_SET_TIMERSLACK_PID for setting timer slack of an arbitrary thread.

2015-06-25 Thread John Stultz
From: Ruchi Kandoi kandoiru...@google.com This patch has been in the Android tree for ahwile, and I've not seen it posted for review. Unfortunately the PR_SET_TIMERSLACK_PID value has collided many times w/ upstream (first w/ PR_SET_THP_DISABLE, and again w/ PR_MPX_ENABLE_MANAGEMENT). So to try

Re: [PATCH] i8042: Add debug_kbd option

2015-06-25 Thread Stephen Chandler Paul
On Thu, 2015-06-25 at 13:32 -0700, Dmitry Torokhov wrote: On Thu, Jun 25, 2015 at 03:25:10PM -0400, cp...@redhat.com wrote: From: Stephen Chandler Paul cp...@redhat.com A big problem with the current i8042 debugging option is that it outputs data going to and from the keyboard by

Re: IDE Floppy support for IOMEGA Zip Drive broken in 3.16 - 3.17 transition

2015-06-25 Thread Borislav Petkov
On Thu, Jun 25, 2015 at 08:58:58PM +, Sergio Callegari wrote: What has changed wrt IDE in 3.16-3.17 transition? Why is the issue present even when the drive is not used (unmounted)? How can I help diagnosing? Here's what went into ide in 3.17: $ git log -p v3.16..v3.17 drivers/ide/

Re: [PATCH v2 15/17] libnvdimm: Set numa_node to NVDIMM devices

2015-06-25 Thread Dan Williams
On Thu, Jun 25, 2015 at 11:34 AM, Williams, Dan J dan.j.willi...@intel.com wrote: On Thu, 2015-06-25 at 11:45 -0600, Toshi Kani wrote: On Thu, 2015-06-25 at 05:37 -0400, Dan Williams wrote: From: Toshi Kani toshi.k...@hp.com ACPI NFIT table has System Physical Address Range Structure

Re: [PATCH] mm: meminit: Finish initialisation of struct pages before basic setup

2015-06-25 Thread Nathan Zimmer
On Thu, Jun 25, 2015 at 09:57:44PM +0100, Mel Gorman wrote: On Thu, Jun 25, 2015 at 09:48:55PM +0100, Mel Gorman wrote: On Wed, Jun 24, 2015 at 05:50:28PM -0500, Nathan Zimmer wrote: My apologies for taking so long to get back to this. I think I did locate two potential sources of

Re: [PATCHv1 7/8] xen/balloon: make alloc_xenballoon_pages() always allocate low pages

2015-06-25 Thread Daniel Kiper
On Thu, Jun 25, 2015 at 06:11:02PM +0100, David Vrabel wrote: All users of alloc_xenballoon_pages() wanted low memory pages, so remove the option for high memory. Signed-off-by: David Vrabel david.vra...@citrix.com Reviewed-by: Daniel Kiper daniel.ki...@oracle.com Daniel -- To unsubscribe

[PATCH 2/6] blkcg: add blkg_[rw]stat-aux_cnt and replace cfq_group-dead_stats with it

2015-06-25 Thread Tejun Heo
cgroup stats are local to each cgroup and doesn't propagate to ancestors by default. When recursive stats are necessary, the sum is calculated over all the descendants. This initially was for backward compatibility to support both group-local and recursive stats but this mode of operation makes

[PATCH 6/6] blkcg: remove cfqg_stats-sectors

2015-06-25 Thread Tejun Heo
cfq_stats-sectors is a blkg_stat which keeps track of the total number of sectors serviced; however, this can be trivially calculated from blkcg_gq-stat_bytes. The only thing necessary is adding up READs and WRITEs and then dividing by sector size. Remove cfqg_stats-sectors and make cfq print

[PATCH 4/6] blkcg: make blkg_[rw]stat_recursive_sum() to be able to index into blkcg_gq

2015-06-25 Thread Tejun Heo
Currently, blkg_[rw]stat_recursive_sum() assume that the target counter is located in pd (blkg_policy_data); however, some counters are planned to be moved to blkg (blkcg_gq). This patch updates blkg_[rw]stat_recursive_sum() to take blkg and blkg_policy pointers instead of pd. If policy is NULL,

[PATCH 1/6] cgroup: make cftype-private a unsigned long

2015-06-25 Thread Tejun Heo
It's pretty unusual to have an int as a private data field and it makes it impossible to carray a pointer value through it. Let's make it an unsigned long. AFAICS, this shouldn't break anything. Signed-off-by: Tejun Heo t...@kernel.org Cc: Johannes Weiner han...@cmpxchg.org Cc: Li Zefan

[RFC] kthread_create_on_node is failing to honor the node choice

2015-06-25 Thread Nathan Zimmer
In kthread_create_on_node we set_cpus_allowed to cpu_all_mask regardless of what the node is requested. This seems incorrect. Signed-off-by: Nathan Zimmer nzim...@sgi.com Cc: Andrew Morton a...@linux-foundation.org Cc: Nishanth Aravamudan n...@linux.vnet.ibm.com Cc: Tejun Heo t...@kernel.org Cc:

[PATCH v2] cciss: update copyright

2015-06-25 Thread Don Brace
- add in PMC-Sierra - change e-mail address V1-V2: corrected e-mail address Signed-off-by: Don Brace don.br...@pmcs.com --- drivers/block/cciss.c |8 ++-- drivers/block/cciss.h | 18 ++ drivers/block/cciss_cmd.h | 18 ++

[GIT PULL] libata changes for v4.2-rc1

2015-06-25 Thread Tejun Heo
Hello, Linus. * A number of libata core changes to better support NCQ TRIM. * ahci now supports MSI-X in single IRQ mode to support a new controller which doesn't implement MSI or INTX. * ahci now supports edge-triggered IRQ mode to support a new controller which for some did edge-triggered

Re: [PATCH v2 15/17] libnvdimm: Set numa_node to NVDIMM devices

2015-06-25 Thread Dan Williams
On Thu, Jun 25, 2015 at 2:51 PM, Toshi Kani toshi.k...@hp.com wrote: On Thu, 2015-06-25 at 14:31 -0700, Dan Williams wrote: On Thu, Jun 25, 2015 at 11:34 AM, Williams, Dan J dan.j.willi...@intel.com wrote: On Thu, 2015-06-25 at 11:45 -0600, Toshi Kani wrote: On Thu, 2015-06-25 at 05:37

[GIT PULL 3/5] ARM: SoC: DT updates for v4.2

2015-06-25 Thread Kevin Hilman
As usual, quite a few device-tree updates in ARM land. There was ome minor churn in DTs due to relicensing under a dual-license, and lots of little additions of new peripherals, features etc, but nothing really exciting to call to your attention. Some higlights, focsuing on support for new SoCs

[GIT PULL 2/5] ARM: SoC: platform support for v4.2

2015-06-25 Thread Kevin Hilman
Our SoC branch usually contains expanded support for new SoCs and other core platform code. Some highlights from this round: - sunxi: SMP support for A23 SoC - socpga: big-endian support - pxa: conversion to common clock framework - bcm: SMP support for BCM63138 - imx: support new I.MX7D SoC -

[GIT PULL 1/5] ARM: SoC: cleanups for v4.2

2015-06-25 Thread Kevin Hilman
A relatively small setup of cleanups this time around, and similar to last time the bulk of it is removal of legacy board support: - OMAP: removal of legacy (non-DT) booting for several platforms - i.MX: remove some legacy board files Conflicts: None

[GIT PULL 4/5] ARM: SoC: driver updates for v4.2

2015-06-25 Thread Kevin Hilman
Some of these are for drivers/soc, where we're now putting SoC-specific drivers these days. Some are for other driver subsystems where we have received acks from the appropriate maintainers. Some highlights: - simple-mfd: document DT bindings and misc updates - migrate mach-berlin to simple-mfd

[GIT PULL 5/5] ARM: SoC: defconfig updates for v4.2

2015-06-25 Thread Kevin Hilman
We keep collecting defconfig updates in a separate branch mostly to encourage people to handle them separately and avoid conflicts between different topics. Most of these are enablement of new SoCs, boards or drivers that have come in, or minor config refreshes due to reorderings in Kconfig

Re: [PATCH v5 1/3] video: fbdev: atyfb: clarify ioremap() base and length used

2015-06-25 Thread Ville Syrjälä
On Wed, Jun 24, 2015 at 06:34:18PM -0700, Luis R. Rodriguez wrote: From: Luis R. Rodriguez mcg...@suse.com This has no functional changes, it just adjusts the ioremap() call for the framebuffer to use the same values we later use for the framebuffer, this will make it easier to review the

Re: [PATCH] modules: elide param_lock if !CONFIG_SYSFS

2015-06-25 Thread Dan Streetman
On Thu, Jun 25, 2015 at 5:18 PM, Rusty Russell ru...@rustcorp.com.au wrote: Dan Streetman ddstr...@ieee.org writes: Only include the built-in and per-module param_lock, and corresponding lock/unlock functions, if sysfs is enabled. If there is no sysfs there is no need for locking kernel

Re: [PATCH] i8042: Add debug_kbd option

2015-06-25 Thread Dmitry Torokhov
On Thu, Jun 25, 2015 at 05:31:25PM -0400, Stephen Chandler Paul wrote: On Thu, 2015-06-25 at 13:32 -0700, Dmitry Torokhov wrote: On Thu, Jun 25, 2015 at 03:25:10PM -0400, cp...@redhat.com wrote: From: Stephen Chandler Paul cp...@redhat.com A big problem with the current i8042

[PATCHSET block/for-4.2/writeback] blkcg: blkcg stats cleanup

2015-06-25 Thread Tejun Heo
Hello, blkcg's stats have always been somwhat of a mess. This patchset tries to improve the situation a bit. * cfq-iosched implements custom recursive stats and blk-throttle implements custom per-cpu stats. This patchset make blkcg core support both by default. * cfq-iosched and

Re: [PATCHv1 8/8] xen/balloon: use hotplugged pages for foreign mappings etc.

2015-06-25 Thread Daniel Kiper
On Thu, Jun 25, 2015 at 06:11:03PM +0100, David Vrabel wrote: alloc_xenballooned_pages() is used to get ballooned pages to back foreign mappings etc. Instead of having to balloon out real pages, use (if supported) hotplugged memory. This makes more memory available to the guest and reduces

Re: [PATCH 08/08] ARM: shmobile: Remove CMT renesas,channels-mask from DTS

2015-06-25 Thread Laurent Pinchart
Hi Magnus, On Tuesday 23 June 2015 11:46:45 Magnus Damm wrote: On Tue, Jun 23, 2015 at 7:40 AM, Laurent Pinchart wrote: On Sunday 21 June 2015 17:10:33 Magnus Damm wrote: From: Magnus Damm damm+rene...@opensource.se Update the DTS to remove the now deprecated renesas,channels-mask

Re: [PATCH v2 1/1] mm: move -mremap() from file_operations to vm_operations_struct

2015-06-25 Thread Kirill A. Shutemov
On Thu, Jun 25, 2015 at 10:45:04PM +0200, Oleg Nesterov wrote: vma-vm_ops-mremap() looks more natural and clean in move_vma(), and this way -mremap() can have more users. Say, vdso. While at it, s/aio_ring_remap/aio_ring_mremap/. Signed-off-by: Oleg Nesterov o...@redhat.com --- fs/aio.c

Re: [PATCH] i8042: Add debug_kbd option

2015-06-25 Thread Stephen Chandler Paul
On Thu, 2015-06-25 at 14:35 -0700, Dmitry Torokhov wrote: On Thu, Jun 25, 2015 at 05:31:25PM -0400, Stephen Chandler Paul wrote: On Thu, 2015-06-25 at 13:32 -0700, Dmitry Torokhov wrote: On Thu, Jun 25, 2015 at 03:25:10PM -0400, cp...@redhat.com wrote: From: Stephen Chandler Paul

Re: [PATCH v2 15/17] libnvdimm: Set numa_node to NVDIMM devices

2015-06-25 Thread Toshi Kani
On Thu, 2015-06-25 at 15:00 -0700, Dan Williams wrote: On Thu, Jun 25, 2015 at 2:51 PM, Toshi Kani toshi.k...@hp.com wrote: On Thu, 2015-06-25 at 14:31 -0700, Dan Williams wrote: On Thu, Jun 25, 2015 at 11:34 AM, Williams, Dan J dan.j.willi...@intel.com wrote: On Thu, 2015-06-25 at 11:45

Re: [Patch RFC 0/2] tracing: allow disabling compilation of specific trace systems

2015-06-25 Thread Steven Rostedt
On Thu, 25 Jun 2015 23:41:17 +0300 Tal Shorer tal.sho...@gmail.com wrote: ping? I'm planning on looking at this after I've finished everything for the merge window. This came over the weekend (always a bad time), and the merge window opened. All new code needs to take a backseat while the merge

Re: [PATCH] modules: elide param_lock if !CONFIG_SYSFS

2015-06-25 Thread Stephen Rothwell
Hi Rusty, On Fri, 26 Jun 2015 06:48:37 +0930 Rusty Russell ru...@rustcorp.com.au wrote: Dan Streetman ddstr...@ieee.org writes: Only include the built-in and per-module param_lock, and corresponding lock/unlock functions, if sysfs is enabled. If there is no sysfs there is no need for

Re: [PATCH v5 1/3] video: fbdev: atyfb: clarify ioremap() base and length used

2015-06-25 Thread Luis R. Rodriguez
On Thu, Jun 25, 2015 at 4:04 PM, Ville Syrjälä syrj...@sci.fi wrote: it doesn't hurt too much since smem_len gets overwritten later in aty_init(). That's the idea, we set it with a default as it will be overwritten later anyway. Luis -- To unsubscribe from this list: send the line unsubscribe

Re: [GIT PULL] tracing: Have filter check for balanced ops

2015-06-25 Thread Steven Rostedt
On Thu, 25 Jun 2015 16:11:46 -0400 Sasha Levin sasha.le...@oracle.com wrote: # echo events/ext4/ext4_truncate_exit/filter Thanks. Seems that the WARN_ON is frivolous. We should just handle cnt 0 as a bad filter. Can you run you tests with this patch. Thanks! -- Steve From

Re: [PATCH v5 1/3] video: fbdev: atyfb: clarify ioremap() base and length used

2015-06-25 Thread Ville Syrjälä
On Thu, Jun 25, 2015 at 04:06:45PM -0700, Luis R. Rodriguez wrote: On Thu, Jun 25, 2015 at 4:04 PM, Ville Syrjälä syrj...@sci.fi wrote: it doesn't hurt too much since smem_len gets overwritten later in aty_init(). That's the idea, we set it with a default as it will be overwritten later

Re: [PATCH 02/41] clocksource: cadence_ttc: Migrate to new 'set-state' interface

2015-06-25 Thread Sören Brinkmann
On Thu, 2015-06-18 at 04:24PM +0530, Viresh Kumar wrote: Migrate cadence_ttc driver to the new 'set-state' interface provided by clockevents core, the earlier 'set-mode' interface is marked obsolete now. This also enables us to implement callbacks for new states of clockevent devices, for

[PATCH] selftests/exec: Fix build on older distros.

2015-06-25 Thread Vinson Lee
From: Vinson Lee v...@twitter.com This patch fixes this build error on CentOS 5. execveat.c: In function ‘check_execveat_pathmax’: execveat.c:185: error: ‘AT_EMPTY_PATH’ undeclared (first use in this function) execveat.c:185: error: (Each undeclared identifier is reported only once

Re: [PATCH v2 0/3] ARM: keystone: add ecc error interrupt handling

2015-06-25 Thread santosh shilimkar
On 6/25/2015 2:02 PM, Stephen Boyd wrote: On 06/25/2015 08:04 AM, santosh shilimkar wrote: On 6/25/2015 7:31 AM, Vitaly Andrianov wrote: This patch series adds support for arm L1/L2 ecc and ddr3 ecc error handling for Keystone devices Change Log v2: - removing unused and sorting headers of

Re: [PATCH v2 0/3] ARM: keystone: add ecc error interrupt handling

2015-06-25 Thread Stephen Boyd
On 06/25/2015 02:30 PM, santosh shilimkar wrote: On 6/25/2015 2:02 PM, Stephen Boyd wrote: On 06/25/2015 08:04 AM, santosh shilimkar wrote: On 6/25/2015 7:31 AM, Vitaly Andrianov wrote: This patch series adds support for arm L1/L2 ecc and ddr3 ecc error handling for Keystone devices Change

[PATCH 1/3] drm/doc: Add description of drm properties in msm(V2)

2015-06-25 Thread Jilai Wang
Add plane properties premultiplied/zpos/alpha used in msm MDP driver to perform proper blending operation. V1: Initial change V2: Change premultiplied property to enum (Rob's comment) Signed-off-by: Jilai Wang jil...@codeaurora.org --- Documentation/DocBook/drm.tmpl | 23 +++

Re: [PATCH 0/3] TLB flush multiple pages per IPI v5

2015-06-25 Thread Linus Torvalds
On Thu, Jun 25, 2015 at 12:15 PM, Vlastimil Babka vba...@suse.cz wrote: [..] even aside from that, Intel seems to do particularly well at the next page TLB fill case AFAIK that's because they also cache partial translations, so if the first 3 levels are the same (as they mostly are for the

[GIT PULL 0/5] ARM: SoC changes for v4.2

2015-06-25 Thread Kevin Hilman
Hi Linus, As is usual of late, most of the changes are in DT contents for various platforms, including support for new SoCs and new boards. The rest is spread out a bit, with more descriptions in each pull request. No major conflicts this time, the couple simple ones that show up are covered in

Re: [PATCH v2 15/17] libnvdimm: Set numa_node to NVDIMM devices

2015-06-25 Thread Toshi Kani
On Thu, 2015-06-25 at 15:34 -0700, Dan Williams wrote: On Thu, Jun 25, 2015 at 3:11 PM, Toshi Kani toshi.k...@hp.com wrote: On Thu, 2015-06-25 at 15:00 -0700, Dan Williams wrote: Yes, I see no problem with bound BTTs and their device files. So, how do we bind BTT with this new version?

Re: [PATCH 06/36] HMM: add HMM page table v2.

2015-06-25 Thread Mark Hairgrove
On Thu, 21 May 2015, j.gli...@gmail.com wrote: From: Jérôme Glisse jgli...@redhat.com [...] + +void hmm_pt_iter_init(struct hmm_pt_iter *iter); +void hmm_pt_iter_fini(struct hmm_pt_iter *iter, struct hmm_pt *pt); +unsigned long hmm_pt_iter_next(struct hmm_pt_iter *iter, +

Re: [PATCH V2 1/2] mfd: add Marvell 88pm88x description

2015-06-25 Thread Yi Zhang
On Tue, Jun 23, 2015 at 09:31:00AM -0500, Rob Herring wrote: On Fri, Jun 12, 2015 at 3:43 AM, Yi Zhang yizh...@marvell.com wrote: 88pm880 and 88pm886 are two combo PMIC chips, most of the function and the register mapping are the same How do they compare to 80x/822/860 PMICs? Hi, Rob:

Re: [PATCH V2 1/2] mfd: add Marvell 88pm88x description

2015-06-25 Thread Yi Zhang
On Tue, Jun 23, 2015 at 08:16:01PM +0530, Vaibhav Hiremath wrote: On Tuesday 23 June 2015 08:01 PM, Rob Herring wrote: On Fri, Jun 12, 2015 at 3:43 AM, Yi Zhang yizh...@marvell.com wrote: 88pm880 and 88pm886 are two combo PMIC chips, most of the function and the register mapping are the

Re: kexec_load(2) bypasses signature verification

2015-06-25 Thread Dave Young
On 06/25/15 at 11:59am, Vivek Goyal wrote: On Thu, Jun 25, 2015 at 04:48:18PM +0800, Dave Young wrote: On 06/19/15 at 09:09am, Vivek Goyal wrote: On Fri, Jun 19, 2015 at 04:18:16PM +0800, Dave Young wrote: If we want to disable unsigned kernel loading at compile time, then we

Re: [GIT PULL] RTC for 4.2

2015-06-25 Thread Linus Torvalds
On Thu, Jun 25, 2015 at 12:16 PM, Alexandre Belloni alexandre.bell...@free-electrons.com wrote: Here is the pull-request for the RTC susbsystem for 4.2. This is my first pull-request to you, don't hesitate to tell me if I need to adjust something. Looks fine, but: Conflicts:

Re: [RFC PATCH 0/3] restartable sequences: fast user-space percpu critical sections

2015-06-25 Thread Paul Turner
On Thu, Jun 25, 2015 at 6:15 PM, Mathieu Desnoyers mathieu.desnoy...@efficios.com wrote: - On Jun 24, 2015, at 10:54 PM, Paul Turner p...@google.com wrote: On Wed, Jun 24, 2015 at 5:07 PM, Andy Lutomirski l...@amacapital.net wrote: On Wed, Jun 24, 2015 at 3:26 PM, Paul Turner

Re: [RFC PATCH 00/10] redesign compaction algorithm

2015-06-25 Thread Joonsoo Kim
2015-06-26 3:41 GMT+09:00 Mel Gorman mgor...@suse.de: On Fri, Jun 26, 2015 at 03:14:39AM +0900, Joonsoo Kim wrote: It could though. Reclaim/compaction is entered for orders higher than PAGE_ALLOC_COSTLY_ORDER and when scan priority is sufficiently high. That could be adjusted if you have a

Re: [RFC PATCH 00/10] redesign compaction algorithm

2015-06-25 Thread Joonsoo Kim
2015-06-26 3:56 GMT+09:00 Vlastimil Babka vba...@suse.cz: On 25.6.2015 20:14, Joonsoo Kim wrote: The long-term success rate of fragmentation avoidance depends on minimsing the number of UNMOVABLE allocation requests that use a pageblock belonging to another migratetype. Once such a fallback

[RFC PATCH 6/6] stop_machine: optimize stop_work_alloc()

2015-06-25 Thread Oleg Nesterov
wait_event()/wake_up_all() in stop_work_alloc/stop_work_free logic is very suboptimal because of non-exclusive wakeups. So we add the wait_queue_func_t alloc_wake() helper which wakes the waiter up only a) if it actually waits for a stop_work in the freed cpumask, and b) only after we already set

<    1   2   3   4   5   6   7   8   9   10   >