]> git.kernelconcepts.de Git - karo-tx-linux.git/log
karo-tx-linux.git
9 years agoAdd linux-next specific files for 20140610 next-20140610
Stephen Rothwell [Tue, 10 Jun 2014 06:37:52 +0000 (16:37 +1000)]
Add linux-next specific files for 20140610

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
9 years agoMerge branch 'akpm/master'
Stephen Rothwell [Tue, 10 Jun 2014 06:08:11 +0000 (16:08 +1000)]
Merge branch 'akpm/master'

9 years agomm: add strictlimit knob
Maxim Patlasov [Thu, 22 May 2014 00:54:45 +0000 (10:54 +1000)]
mm: add strictlimit knob

The "strictlimit" feature was introduced to enforce per-bdi dirty limits
for FUSE which sets bdi max_ratio to 1% by default:

http://article.gmane.org/gmane.linux.kernel.mm/105809

However the feature can be useful for other relatively slow or untrusted
BDIs like USB flash drives and DVD+RW.  The patch adds a knob to enable
the feature:

echo 1 > /sys/class/bdi/X:Y/strictlimit

Being enabled, the feature enforces bdi max_ratio limit even if global
(10%) dirty limit is not reached.  Of course, the effect is not visible
until /sys/class/bdi/X:Y/max_ratio is decreased to some reasonable value.

Signed-off-by: Maxim Patlasov <MPatlasov@parallels.com>
Cc: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Cc: Theodore Ts'o <tytso@mit.edu>
Cc: "Artem S. Tashkinov" <t.artem@lycos.com>
Cc: Mel Gorman <mel@csn.ul.ie>
Cc: Jan Kara <jack@suse.cz>
Cc: Wu Fengguang <fengguang.wu@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
9 years agodrivers/w1/w1_int.c: call put_device if device_register fails
Levente Kurusa [Thu, 22 May 2014 00:54:45 +0000 (10:54 +1000)]
drivers/w1/w1_int.c: call put_device if device_register fails

Currently, memsetting and kfreeing the device is bad behaviour.  The
device will have a reference count of 1 and hence can cause trouble
because it has kfree'd.  Proper way to handle a failed device_register is
to call put_device right after it fails.

Signed-off-by: Levente Kurusa <levex@linux.com>
Acked-by: Evgeniy Polyakov <zbr@ioremap.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
9 years agobio-modify-__bio_add_page-to-accept-pages-that-dont-start-a-new-segment-v3
Maurizio Lombardi [Thu, 22 May 2014 00:54:44 +0000 (10:54 +1000)]
bio-modify-__bio_add_page-to-accept-pages-that-dont-start-a-new-segment-v3

Changes in V3:

In case of error, V2 restored the previous number of segments but left
the BIO_SEG_FLAG set.
To avoid problems, after the page is removed from the bio vec,
V3 performs a recount of the segments in the error code path.

Signed-off-by: Maurizio Lombardi <mlombard@redhat.com>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Kent Overstreet <kmo@daterainc.com>
Cc: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
9 years agobio: modify __bio_add_page() to accept pages that don't start a new segment
Maurizio Lombardi [Thu, 22 May 2014 00:54:43 +0000 (10:54 +1000)]
bio: modify __bio_add_page() to accept pages that don't start a new segment

The original behaviour is to refuse to add a new page if the maximum
number of segments has been reached, regardless of the fact the page we
are going to add can be merged into the last segment or not.

Unfortunately, when the system runs under heavy memory fragmentation
conditions, a driver may try to add multiple pages to the last segment.
The original code won't accept them and EBUSY will be reported to
userspace.

This patch modifies the function so it refuses to add a page only in case
the latter starts a new segment and the maximum number of segments has
already been reached.

The bug can be easily reproduced with the st driver:

1) set CONFIG_SCSI_MPT2SAS_MAX_SGE or CONFIG_SCSI_MPT3SAS_MAX_SGE  to 16
2) modprobe st buffer_kbs=1024
3) #dd if=/dev/zero of=/dev/st0 bs=1M count=10
   dd: error writing `/dev/st0': Device or resource busy

Signed-off-by: Maurizio Lombardi <mlombard@redhat.com>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Kent Overstreet <kmo@daterainc.com>
Cc: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
9 years agonmi-provide-the-option-to-issue-an-nmi-back-trace-to-every-cpu-but-current-fix
Stephen Rothwell [Thu, 22 May 2014 00:54:42 +0000 (10:54 +1000)]
nmi-provide-the-option-to-issue-an-nmi-back-trace-to-every-cpu-but-current-fix

undo C99ism

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: Aaron Tomlin <atomlin@redhat.com>
Cc: Don Zickus <dzickus@redhat.com>
Cc: David S. Miller <davem@davemloft.net>
Cc: Mateusz Guzik <mguzik@redhat.com>
Cc: Oleg Nesterov <oleg@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
9 years agonmi: provide the option to issue an NMI back trace to every cpu but current
Aaron Tomlin [Thu, 22 May 2014 00:54:42 +0000 (10:54 +1000)]
nmi: provide the option to issue an NMI back trace to every cpu but current

Sometimes it is preferred not to use the trigger_all_cpu_backtrace()
routine when one wants to avoid capturing a back trace for current.  For
instance if one was previously captured recently.

This patch provides a new routine namely
trigger_allbutself_cpu_backtrace() which offers the flexibility to issue
an NMI to every cpu but current and capture a back trace accordingly.

Patch x86 and sparc to support new routine.

[dzickus@redhat.com: add stub in #else clause]
[dzickus@redhat.com: don't print message in single processor case, wrap with get/put_cpu based on Oleg's suggestion]
Signed-off-by: Aaron Tomlin <atomlin@redhat.com>
Signed-off-by: Don Zickus <dzickus@redhat.com>
Acked-by: David S. Miller <davem@davemloft.net>
Cc: Mateusz Guzik <mguzik@redhat.com>
Cc: Oleg Nesterov <oleg@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
9 years agoDocumentation/filesystems/vfat.txt: update the limitation for fat fallocate
Namjae Jeon [Thu, 22 May 2014 00:54:41 +0000 (10:54 +1000)]
Documentation/filesystems/vfat.txt: update the limitation for fat fallocate

Update the limitation for fat fallocate.

Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com>
Signed-off-by: Amit Sahrawat <a.sahrawat@samsung.com>
Cc: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
9 years agofat: permit to return phy block number by fibmap in fallocated region
Namjae Jeon [Thu, 22 May 2014 00:54:41 +0000 (10:54 +1000)]
fat: permit to return phy block number by fibmap in fallocated region

Make the fibmap call the return the proper physical block number for any
offset request in the fallocated range.

Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com>
Signed-off-by: Amit Sahrawat <a.sahrawat@samsung.com>
Cc: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
9 years agofat: fallback to buffered write in case of fallocated region on direct IO
Namjae Jeon [Thu, 22 May 2014 00:54:41 +0000 (10:54 +1000)]
fat: fallback to buffered write in case of fallocated region on direct IO

For normal cases of direct IO write, trying to seek to location greater
than file size, makes it fall back to buffered write to fill that region.
Similarly, in case for write in Fallocated region, make it fall to
buffered write.

Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com>
Signed-off-by: Amit Sahrawat <a.sahrawat@samsung.com>
Cc: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
9 years agofat: zero out seek range on _fat_get_block
Namjae Jeon [Thu, 22 May 2014 00:54:41 +0000 (10:54 +1000)]
fat: zero out seek range on _fat_get_block

For normal buffered write operations, normally if we try to write to an
offset > than file size, it does a cont_expand_zero till that offset.
Now, in case of fallocated regions, since the blocks are already
allocated.  So, make it zero out that buffers for those blocks till the
seek'ed offset.

Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com>
Signed-off-by: Amit Sahrawat <a.sahrawat@samsung.com>
Cc: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
9 years agofat: add fat_fallocate operation
Namjae Jeon [Thu, 22 May 2014 00:54:40 +0000 (10:54 +1000)]
fat: add fat_fallocate operation

Implement preallocation via the fallocate syscall on VFAT partitions.
This patch is based on an earlier patch of the same name which had some
issues detailed below and did not get accepted.  Refer
https://lkml.org/lkml/2007/12/22/130.

a) The preallocated space was not persistent when the
   FALLOC_FL_KEEP_SIZE flag was set.  It will deallocate cluster at evict
   time.

b) There was no need to zero out the clusters when the flag was set
   Instead of doing an expanding truncate, just allocate clusters and add
   them to the fat chain.  This reduces preallocation time.

Compatibility with windows:

There are no issues when FALLOC_FL_KEEP_SIZE is not set because it just
does an expanding truncate.  Thus reading from the preallocated area on
windows returns null until data is written to it.

When a file with preallocated area using the FALLOC_FL_KEEP_SIZE was
written to on windows, the windows driver freed-up the preallocated
clusters and allocated new clusters for the new data.  The freed up
clusters gets reflected in the free space available for the partition
which can be seen from the Volume properties.

The windows chkdsk tool also does not report any errors on a disk
containing files with preallocated space.

And there is also no issue using linux fat fsck.  because discard
preallocated clusters at repair time.

Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com>
Signed-off-by: Amit Sahrawat <a.sahrawat@samsung.com>
Cc: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
9 years agofat: add i_disksize to represent uninitialized size
Namjae Jeon [Thu, 22 May 2014 00:54:40 +0000 (10:54 +1000)]
fat: add i_disksize to represent uninitialized size

Add i_disksize to represent uninitialized allocated size.
And mmu_private represent initialized allocated size.

Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com>
Signed-off-by: Amit Sahrawat <a.sahrawat@samsung.com>
Cc: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
9 years agomemcg-deprecate-memoryforce_empty-knob-fix
Andrew Morton [Thu, 22 May 2014 00:54:40 +0000 (10:54 +1000)]
memcg-deprecate-memoryforce_empty-knob-fix

- s/pr_info/pr_info_once/
- fix garbled printk text

Cc: Johannes Weiner <hannes@cmpxchg.org>
Acked-by: Michal Hocko <mhocko@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
9 years agomemcg: deprecate memory.force_empty knob
Michal Hocko [Thu, 22 May 2014 00:54:40 +0000 (10:54 +1000)]
memcg: deprecate memory.force_empty knob

force_empty has been introduced primarily to drop memory before it gets
reparented on the group removal.  This alone doesn't sound fully justified
because reparented pages which are not in use can be reclaimed also later
when there is a memory pressure on the parent level.

Mark the knob CFTYPE_INSANE which tells the cgroup core that it shouldn't
create the knob with the experimental sane_behavior.  Other users will get
informed about the deprecation and asked to tell us more because I do not
expect most users will use sane_behavior cgroups mode very soon.

Anyway I expect that most users will be simply cgroup remove handlers
which do that since ever without having any good reason for it.

If somebody really cares because reparented pages, which would be dropped
otherwise, push out more important ones then we should fix the reparenting
code and put pages to the tail.

Signed-off-by: Michal Hocko <mhocko@suse.cz>
Acked-by: Johannes Weiner <hannes@cmpxchg.org>
Cc: Greg Thelen <gthelen@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
9 years agomm: remap_file_pages: grab file ref to prevent race while mmaping
Sasha Levin [Thu, 22 May 2014 00:54:39 +0000 (10:54 +1000)]
mm: remap_file_pages: grab file ref to prevent race while mmaping

A file reference should be held while a file is mmaped, otherwise it might
be freed while being used.

Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
Suggested-by: Hugh Dickins <hughd@google.com>
Acked-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
9 years agomm: remap_file_pages: initialize populate before usage
Sasha Levin [Thu, 22 May 2014 00:54:39 +0000 (10:54 +1000)]
mm: remap_file_pages: initialize populate before usage

'populate' wasn't initialized before being used in error paths,
causing panics when mm_populate() would get called with invalid
values.

Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
Acked-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
9 years agomm-replace-remap_file_pages-syscall-with-emulation-fix
Andrew Morton [Thu, 22 May 2014 00:54:39 +0000 (10:54 +1000)]
mm-replace-remap_file_pages-syscall-with-emulation-fix

fix spello

Cc: "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com>
Cc: Armin Rigo <arigo@tunes.org>
Cc: Dave Jones <davej@redhat.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
9 years agomm: replace remap_file_pages() syscall with emulation
Kirill A. Shutemov [Thu, 22 May 2014 00:54:39 +0000 (10:54 +1000)]
mm: replace remap_file_pages() syscall with emulation

remap_file_pages(2) was invented to be able efficiently map parts of huge
file into limited 32-bit virtual address space such as in database
workloads.

Nonlinear mappings are pain to support and it seems there's no legitimate
use-cases nowadays since 64-bit systems are widely available.

Let's drop it and get rid of all these special-cased code.

The patch replaces the syscall with emulation which creates new VMA on
each remap_file_pages(), unless they it can be merged with an adjacent
one.

I didn't find *any* real code that uses remap_file_pages(2) to test
emulation impact on.  I've checked Debian code search and source of all
packages in ALT Linux.  No real users: libc wrappers, mentions in strace,
gdb, valgrind and this kind of stuff.

There are few basic tests in LTP for the syscall. They work just fine
with emulation.

To test performance impact, I've written small test case which demonstrate
pretty much worst case scenario: map 4G shmfs file, write to begin of
every page pgoff of the page, remap pages in reverse order, read every
page.

The test creates 1 million of VMAs if emulation is in use, so I had to set
vm.max_map_count to 1100000 to avoid -ENOMEM.

Before: 23.3 ( +-  4.31% ) seconds
After: 43.9 ( +-  0.85% ) seconds
Slowdown: 1.88x

I believe we can live with that.

Test case:

#define _GNU_SOURCE
#include <assert.h>
#include <stdlib.h>
#include <stdio.h>
#include <sys/mman.h>

#define MB (1024UL * 1024)
#define SIZE (4096 * MB)

int main(int argc, char **argv)
{
unsigned long *p;
long i, pass;

for (pass = 0; pass < 10; pass++) {
p = mmap(NULL, SIZE, PROT_READ|PROT_WRITE,
MAP_SHARED | MAP_ANONYMOUS, -1, 0);
if (p == MAP_FAILED) {
perror("mmap");
return -1;
}

for (i = 0; i < SIZE / 4096; i++)
p[i * 4096 / sizeof(*p)] = i;

for (i = 0; i < SIZE / 4096; i++) {
if (remap_file_pages(p + i * 4096 / sizeof(*p), 4096,
0, (SIZE - 4096 * (i + 1)) >> 12, 0)) {
perror("remap_file_pages");
return -1;
}
}

for (i = SIZE / 4096 - 1; i >= 0; i--)
assert(p[i * 4096 / sizeof(*p)] == SIZE / 4096 - i - 1);

munmap(p, SIZE);
}

return 0;
}

Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Dave Jones <davej@redhat.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Armin Rigo <arigo@tunes.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
9 years agovmscan: memcg: check whether the low limit should be ignored
Michal Hocko [Thu, 22 May 2014 00:54:36 +0000 (10:54 +1000)]
vmscan: memcg: check whether the low limit should be ignored

Low-limit (aka guarantee) is ignored when there is no group scanned during
the first round of __shink_zone.  This approach doesn't work when multiple
reclaimers race and reclaim the same hierarchy (e.g.  kswapd vs.  direct
reclaim or multiple tasks hitting the hard limit) because memcg iterator
makes sure that multiple reclaimers are interleaved in the hierarchy.
This means that some reclaimers can see 0 scanned groups although there
are groups which are above the low-limit and they were reclaimed on behalf
of other reclaimers.  This leads to a premature low-limit break.

This patch adds mem_cgroup_all_within_guarantee() which will check whether
all the groups in the reclaimed hierarchy are within their low limit and
shrink_zone will allow the fallback reclaim only when that is true.  This
alone is still not sufficient however because it would lead to another
problem.  If a reclaimer constantly fails to scan anything because it sees
only groups within their guarantees while others do the reclaim then the
reclaim priority would drop down very quickly.  shrink_zone has to be
careful to preserve scan at least one group semantic so __shrink_zone has
to be retried until at least one group is scanned.

Signed-off-by: Michal Hocko <mhocko@suse.cz>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Cc: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Cc: Greg Thelen <gthelen@google.com>
Cc: Michel Lespinasse <walken@google.com>
Cc: Tejun Heo <tj@kernel.org>
Cc: Hugh Dickins <hughd@google.com>
Cc: Roman Gushchin <klamm@yandex-team.ru>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
9 years agomemcg: document memory.low_limit_in_bytes
Michal Hocko [Thu, 22 May 2014 00:54:36 +0000 (10:54 +1000)]
memcg: document memory.low_limit_in_bytes

Describe low_limit_in_bytes and its effect.

Signed-off-by: Michal Hocko <mhocko@suse.cz>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Cc: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Cc: Greg Thelen <gthelen@google.com>
Cc: Michel Lespinasse <walken@google.com>
Cc: Tejun Heo <tj@kernel.org>
Cc: Hugh Dickins <hughd@google.com>
Cc: Roman Gushchin <klamm@yandex-team.ru>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
9 years agomemcg-doc-clarify-global-vs-limit-reclaims-fix
Michal Hocko [Thu, 22 May 2014 00:54:35 +0000 (10:54 +1000)]
memcg-doc-clarify-global-vs-limit-reclaims-fix

update doc as per Johannes

Signed-off-by: Michal Hocko <mhocko@suse.cz>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Cc: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Cc: Greg Thelen <gthelen@google.com>
Cc: Michel Lespinasse <walken@google.com>
Cc: Tejun Heo <tj@kernel.org>
Cc: Hugh Dickins <hughd@google.com>
Cc: Roman Gushchin <klamm@yandex-team.ru>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
9 years agomemcg, doc: clarify global vs. limit reclaims
Michal Hocko [Thu, 22 May 2014 00:54:35 +0000 (10:54 +1000)]
memcg, doc: clarify global vs. limit reclaims

Be explicit about global and hard limit reclaims in our documentation.

Signed-off-by: Michal Hocko <mhocko@suse.cz>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Cc: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Cc: Greg Thelen <gthelen@google.com>
Cc: Michel Lespinasse <walken@google.com>
Cc: Tejun Heo <tj@kernel.org>
Cc: Hugh Dickins <hughd@google.com>
Cc: Roman Gushchin <klamm@yandex-team.ru>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
9 years agomemcg: allow setting low_limit
Michal Hocko [Thu, 22 May 2014 00:54:35 +0000 (10:54 +1000)]
memcg: allow setting low_limit

Export memory.low_limit_in_bytes knob with the same rules as the hard
limit represented by limit_in_bytes knob (e.g.  no limit to be set for the
root cgroup).  There is no memsw alternative for low_limit_in_bytes
because the primary motivation behind this limit is to protect the working
set of the group and so considering swap doesn't make much sense.  There
is also no kmem variant exported because we do not have any easy way to
protect kernel allocations now.

Please note that the low limit might exceed the hard limit which basically
means that the group is not reclaimable if there is other reclaim target
in the hierarchy under pressure.

Signed-off-by: Michal Hocko <mhocko@suse.cz>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Cc: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Cc: Greg Thelen <gthelen@google.com>
Cc: Michel Lespinasse <walken@google.com>
Cc: Tejun Heo <tj@kernel.org>
Cc: Hugh Dickins <hughd@google.com>
Cc: Roman Gushchin <klamm@yandex-team.ru>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
9 years agomemcg-mm-introduce-lowlimit-reclaim-fix
Michal Hocko [Thu, 22 May 2014 00:54:35 +0000 (10:54 +1000)]
memcg-mm-introduce-lowlimit-reclaim-fix

mem_cgroup_reclaim_eligible -> mem_cgroup_within_guarantee
follow_low_limit -> honor_memcg_guarantee
and as suggested by Johannes.

Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Cc: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Cc: Greg Thelen <gthelen@google.com>
Cc: Michel Lespinasse <walken@google.com>
Cc: Tejun Heo <tj@kernel.org>
Cc: Hugh Dickins <hughd@google.com>
Cc: Roman Gushchin <klamm@yandex-team.ru>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
9 years agomemcg, mm: introduce lowlimit reclaim
Michal Hocko [Thu, 22 May 2014 00:54:34 +0000 (10:54 +1000)]
memcg, mm: introduce lowlimit reclaim

Previous discussions have shown that soft limits cannot be reformed
(http://lwn.net/Articles/555249/).  This series introduces an alternative
approach for protecting memory allocated to processes executing within a
memory cgroup controller.  It is based on a new tunable that was discussed
with Johannes and Tejun held during the kernel summit 2013 and at LSF
2014.

This patchset introduces such low limit that is functionally similar to a
minimum guarantee.  Memcgs which are under their lowlimit are not
considered eligible for the reclaim (both global and hardlimit) unless all
groups under the reclaimed hierarchy are below the low limit when all of
them are considered eligible.

The previous version of the patchset posted as a RFC
(http://marc.info/?l=linux-mm&m=138677140628677&w=2) suggested a hard
guarantee without any fallback.  More discussions led me to reconsidering
the default behavior and come up a more relaxed one.  The hard requirement
can be added later based on a use case which really requires.  It would be
controlled by memory.reclaim_flags knob which would specify whether to OOM
or fallback (default) when all groups are bellow low limit.

The default value of the limit is 0 so all groups are eligible by default
and an interested party has to explicitly set the limit.

The primary use case is to protect an amount of memory allocated to a
workload without it being reclaimed by an unrelated activity.  In some
cases this requirement can be fulfilled by mlock but it is not suitable
for many loads and generally requires application awareness.  Such
application awareness can be complex.  It effectively forbids the use of
memory overcommit as the application must explicitly manage memory
residency.

With the low limit, such workloads can be placed in a memcg with a low
limit that protects the estimated working set.

The hierarchical behavior of the lowlimit is described in the first patch.
 The second patch allows setting the lowlimit.  The last 2 patches clarify
documentation about the memcg reclaim in gereneral (3rd patch) and low
limit (4th patch).

This patch (of 5)

This patch introduces low limit reclaim.  The low_limit acts as a reclaim
protection because groups which are under their low_limit are considered
ineligible for reclaim.  While hardlimit protects from using more memory
than allowed lowlimit protects from getting below memory assigned to the
group due to external memory pressure.

More precisely a group is considered eligible for the reclaim under a
specific hierarchy represented by its root only if the group is above its
low limit and the same applies to all parents up the hierarchy to the
root.  Nevertheless the limit still might be ignored if all groups under
the reclaimed hierarchy are under their low limits.  This will prevent
from OOM rather than protecting the memory.

Consider the following hierarchy with memory pressure coming from the
group A (hard limit reclaim - l-low_limit_in_bytes, u-usage_in_bytes,
h-limit_in_bytes):

root_mem_cgroup
.
  _____/
 /
A (l = 80 u=90 h=90)
       /
      / \_________
     /            \
    B (l=0 u=50)   C (l=50 u=40)
                    \
     D (l=0 u=30)

A and B are reclaimable but C and D are not (D is protected by C).

The low_limit is 0 by default so every group is eligible.  This patch
doesn't provide a way to set the limit yet although the core
infrastructure is there already.

Signed-off-by: Michal Hocko <mhocko@suse.cz>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Cc: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Cc: Greg Thelen <gthelen@google.com>
Cc: Michel Lespinasse <walken@google.com>
Cc: Tejun Heo <tj@kernel.org>
Cc: Hugh Dickins <hughd@google.com>
Cc: Roman Gushchin <klamm@yandex-team.ru>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
9 years agokernel/kprobes.c: convert printk to pr_foo()
Fabian Frederick [Thu, 22 May 2014 00:54:33 +0000 (10:54 +1000)]
kernel/kprobes.c: convert printk to pr_foo()

Also fixes some checkpatch warnings
-Static initialization
-Lines over 80 characters

Signed-off-by: Fabian Frederick <fabf@skynet.be>
Cc: Ananth N Mavinakayanahalli <ananth@in.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
9 years agoinit/main.c: code clean-up
Fabian Frederick [Thu, 22 May 2014 00:54:32 +0000 (10:54 +1000)]
init/main.c: code clean-up

Fixing some checkpatch warnings(remove global initialization, move
__initdata, coalesce formats ...)

Signed-off-by: Fabian Frederick <fabf@skynet.be>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
9 years agokernel/watchdog.c: convert printk/pr_warning to pr_foo()
Fabian Frederick [Thu, 22 May 2014 00:54:31 +0000 (10:54 +1000)]
kernel/watchdog.c: convert printk/pr_warning to pr_foo()

Replace some obsolete functions.

Signed-off-by: Fabian Frederick <fabf@skynet.be>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
9 years agokernel-watchdogc-print-traces-for-all-cpus-on-lockup-detection-fix-2
Jan Moskyto Matejka [Thu, 22 May 2014 00:54:31 +0000 (10:54 +1000)]
kernel-watchdogc-print-traces-for-all-cpus-on-lockup-detection-fix-2

This commit fixes this warning:

kernel/watchdog.c: In function `watchdog_timer_fn':
kernel/watchdog.c:368:4: warning: `smp_mb__after_clear_bit' is deprecated (declared at include/linux/bitops.h:48) [-Wdeprecated-declarations]
    smp_mb__after_clear_bit();

That code was introduced in commit 90e6b763ca8a5eb739e59489f42d45e13431d157
("kernel/watchdog.c: print traces for all cpus on lockup detection") and then
merged with another branch containing commit
febdbfe8a91ce0d11939d4940b592eb0dba8d663 ("arch: Prepare for
smp_mb__{before,after}_atomic()") which deprecates the
smp_mb__after_clear_bit() call in favour of smp_mb__after_atomic().

Signed-off-by: Jan Moskyto Matejka <mq@suse.cz>
Acked-by: Aaron Tomlin <atomlin@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
9 years agokernel-watchdogc-print-traces-for-all-cpus-on-lockup-detection-fix
Andrew Morton [Thu, 22 May 2014 00:54:31 +0000 (10:54 +1000)]
kernel-watchdogc-print-traces-for-all-cpus-on-lockup-detection-fix

additional CONFIG_SMP=n optimisations

Cc: Aaron Tomlin <atomlin@redhat.com>
Cc: David S. Miller <davem@davemloft.net>
Cc: Don Zickus <dzickus@redhat.com>
Cc: Mateusz Guzik <mguzik@redhat.com>
Cc: Oleg Nesterov <oleg@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
9 years agokernel/watchdog.c: print traces for all cpus on lockup detection
Aaron Tomlin [Thu, 22 May 2014 00:54:31 +0000 (10:54 +1000)]
kernel/watchdog.c: print traces for all cpus on lockup detection

A 'softlockup' is defined as a bug that causes the kernel to loop in
kernel mode for more than a predefined period to time, without giving
other tasks a chance to run.

Currently, upon detection of this condition by the per-cpu watchdog task,
debug information (including a stack trace) is sent to the system log.

On some occasions, we have observed that the "victim" rather than the
actual "culprit" (i.e.  the owner/holder of the contended resource) is
reported to the user.  Often this information has proven to be
insufficient to assist debugging efforts.

To avoid loss of useful debug information, for architectures which support
NMI, this patch makes it possible to improve soft lockup reporting.  This
is accomplished by issuing an NMI to each cpu to obtain a stack trace.

If NMI is not supported we just revert back to the old method.  A sysctl
and boot-time parameter is available to toggle this feature.

[dzickus@redhat.com: add CONFIG_SMP in certain areas]
Signed-off-by: Aaron Tomlin <atomlin@redhat.com>
Signed-off-by: Don Zickus <dzickus@redhat.com>
Cc: David S. Miller <davem@davemloft.net>
Cc: Mateusz Guzik <mguzik@redhat.com>
Cc: Oleg Nesterov <oleg@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
9 years agortc: s5m: consolidate two device type switch statements
Krzysztof Kozlowski [Thu, 22 May 2014 00:54:30 +0000 (10:54 +1000)]
rtc: s5m: consolidate two device type switch statements

In probe the configuration of driver for different chipsets was done in
two switch (pdata->device_type) statements.  Consolidate them into one
switch statement to increase code readability.

Additionally check the return value of regmap_irq_get_virq and exit probe
on error.

Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Cc: Kyungmin Park <kyungmin.park@samsung.com>
Cc: Lee Jones <lee.jones@linaro.org>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Cc: Sangbeom Kim <sbkim73@samsung.com>
Cc: Samuel Ortiz <sameo@linux.intel.com>
Cc: Marek Szyprowski <m.szyprowski@samsung.com>
Cc: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
9 years agortc: s5m: add support for S2MPS14 RTC
Krzysztof Kozlowski [Thu, 22 May 2014 00:54:30 +0000 (10:54 +1000)]
rtc: s5m: add support for S2MPS14 RTC

Add support for S2MPS14 to the rtc-s5m driver. Differences in S2MPS14
(in comparison to S5M8767):

 - Layout of registers;
 - Lack of century support for time and alarms (7 registers used for
   storing time/alarm);
 - Two buffer control registers: WUDR and RUDR;
 - No register for enabling writing time;
 - RTC interrupts are reported in main PMIC I2C device;

Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Cc: Kyungmin Park <kyungmin.park@samsung.com>
Cc: Lee Jones <lee.jones@linaro.org>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Cc: Sangbeom Kim <sbkim73@samsung.com>
Cc: Samuel Ortiz <sameo@linux.intel.com>
Cc: Marek Szyprowski <m.szyprowski@samsung.com>
Cc: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
9 years agortc: s5m: support different register layout
Krzysztof Kozlowski [Thu, 22 May 2014 00:54:30 +0000 (10:54 +1000)]
rtc: s5m: support different register layout

Prepare for adding support for S2MPS14 RTC device to the
rtc-s5m driver:

1. Add a map of registers used by the driver which differ between
   the chipsets (S5M876X and S2MPS14).

2. Move code of checking for alarm pending to separate function.

Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Cc: Kyungmin Park <kyungmin.park@samsung.com>
Cc: Lee Jones <lee.jones@linaro.org>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Cc: Sangbeom Kim <sbkim73@samsung.com>
Cc: Samuel Ortiz <sameo@linux.intel.com>
Cc: Marek Szyprowski <m.szyprowski@samsung.com>
Cc: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
9 years agortc: s5m: use shorter time of register update
Krzysztof Kozlowski [Thu, 22 May 2014 00:54:29 +0000 (10:54 +1000)]
rtc: s5m: use shorter time of register update

Set the time needed for updating alarm and time registers to 0.45 ms.
The default is 7.32 ms which is too long and leads to warnings when
setting alarm or time:

s5m-rtc: waiting for UDR update, reached max number of retries

Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Cc: Kyungmin Park <kyungmin.park@samsung.com>
Cc: Lee Jones <lee.jones@linaro.org>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Cc: Sangbeom Kim <sbkim73@samsung.com>
Cc: Samuel Ortiz <sameo@linux.intel.com>
Cc: Marek Szyprowski <m.szyprowski@samsung.com>
Cc: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
9 years agortc: s5m: remove undocumented time init on first boot
Krzysztof Kozlowski [Thu, 22 May 2014 00:54:29 +0000 (10:54 +1000)]
rtc: s5m: remove undocumented time init on first boot

Remove the code for initializing time if this is first boot.

The code for detecting first boot uses undocumented field RTC_TCON in
RTC_UDR_CON register.  According to S5M8767's datasheet this field is
reserved.  On S2MPS14 it is not documented at all.  On device first boot
the registers will be initialized with reset value (2000-01-01 00:00:00).

The code might work on S5M8763 but still this does not look like a task
for RTC driver.

Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Cc: Kyungmin Park <kyungmin.park@samsung.com>
Cc: Lee Jones <lee.jones@linaro.org>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Cc: Sangbeom Kim <sbkim73@samsung.com>
Cc: Samuel Ortiz <sameo@linux.intel.com>
Cc: Marek Szyprowski <m.szyprowski@samsung.com>
Cc: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
9 years agomfd/rtc: sec/s5m: rename SEC* symbols to S5M
Krzysztof Kozlowski [Thu, 22 May 2014 00:54:29 +0000 (10:54 +1000)]
mfd/rtc: sec/s5m: rename SEC* symbols to S5M

Prepare for adding support for S2MPS14 RTC device to the rtc-s5m driver:

1. Rename SEC* symbols to S5M.
2. Add S5M prefix to some of defines which are different between S5M876X
   and S2MPS14.

This is only a rename-like patch, new code is not added.

Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Acked-by: Lee Jones <lee.jones@linaro.org>
Cc: Kyungmin Park <kyungmin.park@samsung.com>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Cc: Sangbeom Kim <sbkim73@samsung.com>
Cc: Samuel Ortiz <sameo@linux.intel.com>
Cc: Marek Szyprowski <m.szyprowski@samsung.com>
Cc: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
9 years agomm/page_io.c: work around gcc bug
Andrew Morton [Thu, 22 May 2014 00:54:24 +0000 (10:54 +1000)]
mm/page_io.c: work around gcc bug

gcc-4.4.4 (at least) screws up this initialization.

mm/page_io.c: In function '__swap_writepage':
mm/page_io.c:277: error: unknown field 'bvec' specified in initializer
mm/page_io.c:278: warning: excess elements in struct initializer
mm/page_io.c:278: warning: (near initialization for 'from')

Fixes f990bbc9bfa3cbd2d ("bio_vec-backed iov_iter").

Cc: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
9 years agodrivers/gpio/gpio-zevio.c: fix build
Andrew Morton [Thu, 22 May 2014 00:54:23 +0000 (10:54 +1000)]
drivers/gpio/gpio-zevio.c: fix build

Unbreak i386 allmodconfig.

This is a hack - please fix properly ;)

Cc: Fabian Vogt <fabian@ritter-vogt.de>
Cc: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
9 years agoMerge branch 'akpm-current/current'
Stephen Rothwell [Tue, 10 Jun 2014 05:15:26 +0000 (15:15 +1000)]
Merge branch 'akpm-current/current'

Conflicts:
Documentation/cgroups/memory.txt
arch/arm/include/asm/Kbuild
arch/x86/mm/init_64.c
drivers/rtc/rtc-at91rm9200.c
fs/ext4/page-io.c
fs/hfsplus/dir.c
fs/hfsplus/hfsplus_fs.h
fs/hpfs/buffer.c
fs/hpfs/dir.c
fs/hpfs/dnode.c
fs/hpfs/ea.c
fs/hpfs/inode.c
fs/hpfs/map.c
fs/hpfs/name.c
fs/hpfs/super.c
fs/hugetlbfs/inode.c
fs/jfs/super.c
fs/proc/task_mmu.c
ipc/sem.c
kernel/kexec.c
kernel/printk/printk.c
kernel/smp.c
kernel/sysctl.c
mm/memblock.c
mm/memcontrol.c
mm/memory-failure.c
mm/mempolicy.c
mm/page_alloc.c
mm/vmscan.c

9 years agoMerge branch 'rd-docs/master'
Stephen Rothwell [Tue, 10 Jun 2014 04:29:39 +0000 (14:29 +1000)]
Merge branch 'rd-docs/master'

9 years agoMerge remote-tracking branch 'llvmlinux/for-next'
Stephen Rothwell [Tue, 10 Jun 2014 04:29:34 +0000 (14:29 +1000)]
Merge remote-tracking branch 'llvmlinux/for-next'

9 years agoMerge remote-tracking branch 'aio/master'
Stephen Rothwell [Tue, 10 Jun 2014 04:28:12 +0000 (14:28 +1000)]
Merge remote-tracking branch 'aio/master'

9 years agoMerge remote-tracking branch 'lzo-update/lzo-update'
Stephen Rothwell [Tue, 10 Jun 2014 04:26:39 +0000 (14:26 +1000)]
Merge remote-tracking branch 'lzo-update/lzo-update'

9 years agoMerge remote-tracking branch 'ktest/for-next'
Stephen Rothwell [Tue, 10 Jun 2014 04:25:39 +0000 (14:25 +1000)]
Merge remote-tracking branch 'ktest/for-next'

9 years agoMerge remote-tracking branch 'userns/for-next'
Stephen Rothwell [Tue, 10 Jun 2014 04:15:40 +0000 (14:15 +1000)]
Merge remote-tracking branch 'userns/for-next'

Conflicts:
fs/btrfs/ioctl.c
fs/dcache.c
fs/namei.c
fs/namespace.c

9 years agoMerge remote-tracking branch 'dma-buf/for-next'
Stephen Rothwell [Tue, 10 Jun 2014 04:13:57 +0000 (14:13 +1000)]
Merge remote-tracking branch 'dma-buf/for-next'

Conflicts:
drivers/gpu/drm/i915/i915_gem_dmabuf.c
drivers/staging/android/sync.c

9 years agoMerge remote-tracking branch 'pwm/for-next'
Stephen Rothwell [Tue, 10 Jun 2014 04:12:40 +0000 (14:12 +1000)]
Merge remote-tracking branch 'pwm/for-next'

Conflicts:
drivers/leds/leds-pwm.c

9 years agoMerge remote-tracking branch 'vhost/linux-next'
Stephen Rothwell [Tue, 10 Jun 2014 03:52:54 +0000 (13:52 +1000)]
Merge remote-tracking branch 'vhost/linux-next'

9 years agoMerge remote-tracking branch 'target-updates/for-next'
Stephen Rothwell [Tue, 10 Jun 2014 03:50:25 +0000 (13:50 +1000)]
Merge remote-tracking branch 'target-updates/for-next'

Conflicts:
drivers/scsi/qla2xxx/qla_target.c
drivers/scsi/virtio_scsi.c

9 years agoMerge remote-tracking branch 'scsi/for-next'
Stephen Rothwell [Tue, 10 Jun 2014 03:48:23 +0000 (13:48 +1000)]
Merge remote-tracking branch 'scsi/for-next'

9 years agoMerge remote-tracking branch 'leds/for-next'
Stephen Rothwell [Tue, 10 Jun 2014 03:47:00 +0000 (13:47 +1000)]
Merge remote-tracking branch 'leds/for-next'

9 years agoMerge remote-tracking branch 'hsi/for-next'
Stephen Rothwell [Tue, 10 Jun 2014 03:46:06 +0000 (13:46 +1000)]
Merge remote-tracking branch 'hsi/for-next'

9 years agoMerge remote-tracking branch 'regmap/for-next'
Stephen Rothwell [Tue, 10 Jun 2014 03:46:03 +0000 (13:46 +1000)]
Merge remote-tracking branch 'regmap/for-next'

9 years agoMerge remote-tracking branch 'drivers-x86/linux-next'
Stephen Rothwell [Tue, 10 Jun 2014 03:45:04 +0000 (13:45 +1000)]
Merge remote-tracking branch 'drivers-x86/linux-next'

9 years agoMerge remote-tracking branch 'ftrace/for-next'
Stephen Rothwell [Tue, 10 Jun 2014 03:42:00 +0000 (13:42 +1000)]
Merge remote-tracking branch 'ftrace/for-next'

9 years agoMerge remote-tracking branch 'irqchip/irqchip/for-next'
Stephen Rothwell [Tue, 10 Jun 2014 03:41:57 +0000 (13:41 +1000)]
Merge remote-tracking branch 'irqchip/irqchip/for-next'

9 years agoMerge remote-tracking branch 'tip/auto-latest'
Stephen Rothwell [Tue, 10 Jun 2014 03:30:04 +0000 (13:30 +1000)]
Merge remote-tracking branch 'tip/auto-latest'

9 years agoMerge remote-tracking branch 'spi/for-next'
Stephen Rothwell [Tue, 10 Jun 2014 03:29:09 +0000 (13:29 +1000)]
Merge remote-tracking branch 'spi/for-next'

9 years agoMerge remote-tracking branch 'devicetree/devicetree/next'
Stephen Rothwell [Tue, 10 Jun 2014 03:29:04 +0000 (13:29 +1000)]
Merge remote-tracking branch 'devicetree/devicetree/next'

9 years agoMerge remote-tracking branch 'audit/master'
Stephen Rothwell [Tue, 10 Jun 2014 03:27:16 +0000 (13:27 +1000)]
Merge remote-tracking branch 'audit/master'

Conflicts:
arch/mips/include/asm/syscall.h
arch/mips/kernel/ptrace.c
arch/x86/Kconfig
kernel/audit.c

9 years agoMerge remote-tracking branch 'watchdog/master'
Stephen Rothwell [Tue, 10 Jun 2014 03:25:53 +0000 (13:25 +1000)]
Merge remote-tracking branch 'watchdog/master'

9 years agoMerge remote-tracking branch 'selinux/next'
Stephen Rothwell [Tue, 10 Jun 2014 03:24:38 +0000 (13:24 +1000)]
Merge remote-tracking branch 'selinux/next'

9 years agoMerge remote-tracking branch 'integrity/next'
Stephen Rothwell [Tue, 10 Jun 2014 03:23:27 +0000 (13:23 +1000)]
Merge remote-tracking branch 'integrity/next'

9 years agoMerge remote-tracking branch 'security/next'
Stephen Rothwell [Tue, 10 Jun 2014 03:13:01 +0000 (13:13 +1000)]
Merge remote-tracking branch 'security/next'

9 years agoMerge remote-tracking branch 'regulator/for-next'
Stephen Rothwell [Tue, 10 Jun 2014 03:11:29 +0000 (13:11 +1000)]
Merge remote-tracking branch 'regulator/for-next'

9 years agoMerge remote-tracking branch 'omap_dss2/for-next'
Stephen Rothwell [Tue, 10 Jun 2014 03:10:32 +0000 (13:10 +1000)]
Merge remote-tracking branch 'omap_dss2/for-next'

Conflicts:
arch/arm/boot/dts/am437x-gp-evm.dts

9 years agoMerge remote-tracking branch 'md/for-next'
Stephen Rothwell [Tue, 10 Jun 2014 03:09:12 +0000 (13:09 +1000)]
Merge remote-tracking branch 'md/for-next'

9 years agoMerge remote-tracking branch 'slab/for-next'
Stephen Rothwell [Tue, 10 Jun 2014 03:07:46 +0000 (13:07 +1000)]
Merge remote-tracking branch 'slab/for-next'

9 years agoMerge remote-tracking branch 'kgdb/kgdb-next'
Stephen Rothwell [Tue, 10 Jun 2014 03:07:30 +0000 (13:07 +1000)]
Merge remote-tracking branch 'kgdb/kgdb-next'

9 years agoMerge remote-tracking branch 'mmc/mmc-next'
Stephen Rothwell [Tue, 10 Jun 2014 03:06:06 +0000 (13:06 +1000)]
Merge remote-tracking branch 'mmc/mmc-next'

Conflicts:
drivers/mmc/host/Makefile
drivers/mmc/host/rtsx_usb_sdmmc.c
include/linux/omap-dma.h

9 years agoMerge remote-tracking branch 'device-mapper/for-next'
Stephen Rothwell [Tue, 10 Jun 2014 02:36:56 +0000 (12:36 +1000)]
Merge remote-tracking branch 'device-mapper/for-next'

9 years agoMerge remote-tracking branch 'block/for-next'
Stephen Rothwell [Tue, 10 Jun 2014 02:33:58 +0000 (12:33 +1000)]
Merge remote-tracking branch 'block/for-next'

9 years agoMerge remote-tracking branch 'virtio/virtio-next'
Stephen Rothwell [Tue, 10 Jun 2014 02:32:47 +0000 (12:32 +1000)]
Merge remote-tracking branch 'virtio/virtio-next'

9 years agoMerge remote-tracking branch 'modules/modules-next'
Stephen Rothwell [Tue, 10 Jun 2014 02:21:07 +0000 (12:21 +1000)]
Merge remote-tracking branch 'modules/modules-next'

9 years agoMerge remote-tracking branch 'sound-asoc/for-next'
Stephen Rothwell [Tue, 10 Jun 2014 02:19:58 +0000 (12:19 +1000)]
Merge remote-tracking branch 'sound-asoc/for-next'

9 years agoMerge remote-tracking branch 'sound/for-next'
Stephen Rothwell [Tue, 10 Jun 2014 02:19:02 +0000 (12:19 +1000)]
Merge remote-tracking branch 'sound/for-next'

9 years agoMerge remote-tracking branch 'drm-intel/for-linux-next'
Stephen Rothwell [Tue, 10 Jun 2014 02:17:34 +0000 (12:17 +1000)]
Merge remote-tracking branch 'drm-intel/for-linux-next'

9 years agoMerge remote-tracking branch 'drm/drm-next'
Stephen Rothwell [Tue, 10 Jun 2014 02:15:51 +0000 (12:15 +1000)]
Merge remote-tracking branch 'drm/drm-next'

9 years agoMerge remote-tracking branch 'l2-mtd/master'
Stephen Rothwell [Tue, 10 Jun 2014 02:14:43 +0000 (12:14 +1000)]
Merge remote-tracking branch 'l2-mtd/master'

9 years agoMerge remote-tracking branch 'infiniband/for-next'
Stephen Rothwell [Tue, 10 Jun 2014 02:13:26 +0000 (12:13 +1000)]
Merge remote-tracking branch 'infiniband/for-next'

Conflicts:
drivers/net/ethernet/mellanox/mlx4/cmd.c

9 years agoMerge remote-tracking branch 'bluetooth/master'
Stephen Rothwell [Tue, 10 Jun 2014 02:12:06 +0000 (12:12 +1000)]
Merge remote-tracking branch 'bluetooth/master'

9 years agoMerge remote-tracking branch 'net-next/master'
Stephen Rothwell [Tue, 10 Jun 2014 01:57:37 +0000 (11:57 +1000)]
Merge remote-tracking branch 'net-next/master'

Conflicts:
Documentation/driver-model/devres.txt
drivers/hv/channel_mgmt.c
drivers/staging/rtl8821ae/core.c

9 years agoMerge remote-tracking branch 'dmaengine/next'
Stephen Rothwell [Tue, 10 Jun 2014 01:56:35 +0000 (11:56 +1000)]
Merge remote-tracking branch 'dmaengine/next'

9 years agoMerge remote-tracking branch 'slave-dma/next'
Stephen Rothwell [Tue, 10 Jun 2014 01:50:56 +0000 (11:50 +1000)]
Merge remote-tracking branch 'slave-dma/next'

9 years agoMerge remote-tracking branch 'ieee1394/for-next'
Stephen Rothwell [Tue, 10 Jun 2014 01:50:49 +0000 (11:50 +1000)]
Merge remote-tracking branch 'ieee1394/for-next'

9 years agoMerge remote-tracking branch 'thermal/next'
Stephen Rothwell [Tue, 10 Jun 2014 01:49:50 +0000 (11:49 +1000)]
Merge remote-tracking branch 'thermal/next'

9 years agoMerge remote-tracking branch 'pm/linux-next'
Stephen Rothwell [Tue, 10 Jun 2014 01:48:21 +0000 (11:48 +1000)]
Merge remote-tracking branch 'pm/linux-next'

9 years agoMerge remote-tracking branch 'libata/for-next'
Stephen Rothwell [Tue, 10 Jun 2014 01:48:16 +0000 (11:48 +1000)]
Merge remote-tracking branch 'libata/for-next'

9 years agoMerge remote-tracking branch 'kbuild/for-next'
Stephen Rothwell [Tue, 10 Jun 2014 01:39:12 +0000 (11:39 +1000)]
Merge remote-tracking branch 'kbuild/for-next'

9 years agoMerge remote-tracking branch 'v4l-dvb/master'
Stephen Rothwell [Tue, 10 Jun 2014 01:38:02 +0000 (11:38 +1000)]
Merge remote-tracking branch 'v4l-dvb/master'

9 years agoMerge remote-tracking branch 'hid/for-next'
Stephen Rothwell [Tue, 10 Jun 2014 01:37:52 +0000 (11:37 +1000)]
Merge remote-tracking branch 'hid/for-next'

Conflicts:
drivers/hid/hid-sensor-hub.c

9 years agoMerge remote-tracking branch 'pci/next'
Stephen Rothwell [Tue, 10 Jun 2014 01:33:29 +0000 (11:33 +1000)]
Merge remote-tracking branch 'pci/next'

9 years agoMerge remote-tracking branch 'vfs/for-next'
Stephen Rothwell [Tue, 10 Jun 2014 01:22:42 +0000 (11:22 +1000)]
Merge remote-tracking branch 'vfs/for-next'

Conflicts:
fs/f2fs/data.c
fs/f2fs/file.c
fs/nfs/direct.c
fs/splice.c

9 years agoMerge remote-tracking branch 'xfs/for-next'
Stephen Rothwell [Tue, 10 Jun 2014 01:06:42 +0000 (11:06 +1000)]
Merge remote-tracking branch 'xfs/for-next'

9 years agoMerge remote-tracking branch 'ubifs/linux-next'
Stephen Rothwell [Tue, 10 Jun 2014 01:05:34 +0000 (11:05 +1000)]
Merge remote-tracking branch 'ubifs/linux-next'

9 years agoMerge remote-tracking branch 'nfsd/nfsd-next'
Stephen Rothwell [Tue, 10 Jun 2014 01:03:25 +0000 (11:03 +1000)]
Merge remote-tracking branch 'nfsd/nfsd-next'

9 years agoMerge remote-tracking branch 'nfs/linux-next'
Stephen Rothwell [Tue, 10 Jun 2014 01:01:34 +0000 (11:01 +1000)]
Merge remote-tracking branch 'nfs/linux-next'