summaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)Author
2017-02-09mm: clarify mm_struct.mm_{users,count} documentationVegard Nossum
Clarify documentation relating to mm_users and mm_count, and switch to kernel-doc syntax. Link: http://lkml.kernel.org/r/20161218123229.22952-4-vegard.nossum@oracle.com Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com> Acked-by: Michal Hocko <mhocko@suse.com> Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org> Acked-by: David Rientjes <rientjes@google.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2017-02-09mm: add new mmget() helperVegard Nossum
Apart from adding the helper function itself, the rest of the kernel is converted mechanically using: git grep -l 'atomic_inc.*mm_users' | xargs sed -i 's/atomic_inc(&\(.*\)->mm_users);/mmget\(\1\);/' git grep -l 'atomic_inc.*mm_users' | xargs sed -i 's/atomic_inc(&\(.*\)\.mm_users);/mmget\(\&\1\);/' This is needed for a later patch that hooks into the helper, but might be a worthwhile cleanup on its own. (Michal Hocko provided most of the kerneldoc comment.) Link: http://lkml.kernel.org/r/20161218123229.22952-2-vegard.nossum@oracle.com Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com> Acked-by: Michal Hocko <mhocko@suse.com> Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org> Acked-by: David Rientjes <rientjes@google.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2017-02-09mm: add new mmgrab() helperVegard Nossum
Apart from adding the helper function itself, the rest of the kernel is converted mechanically using: git grep -l 'atomic_inc.*mm_count' | xargs sed -i 's/atomic_inc(&\(.*\)->mm_count);/mmgrab\(\1\);/' git grep -l 'atomic_inc.*mm_count' | xargs sed -i 's/atomic_inc(&\(.*\)\.mm_count);/mmgrab\(\&\1\);/' This is needed for a later patch that hooks into the helper, but might be a worthwhile cleanup on its own. (Michal Hocko provided most of the kerneldoc comment.) Link: http://lkml.kernel.org/r/20161218123229.22952-1-vegard.nossum@oracle.com Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com> Acked-by: Michal Hocko <mhocko@suse.com> Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org> Acked-by: David Rientjes <rientjes@google.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2017-02-09scripts/spelling.txt: add "followings" pattern and fix typo instancesMasahiro Yamada
Fix typos and add the following to the scripts/spelling.txt: followings||following While we are here, add a missing colon in the boilerplate in DT binding documents. The "you SoC" in allwinner,sunxi-pinctrl.txt was fixed as well. I reworded "as the followings:" to "as follows:" for drivers/usb/gadget/udc/renesas_usb3.c. Link: http://lkml.kernel.org/r/1481573103-11329-32-git-send-email-yamada.masahiro@socionext.com Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2017-02-09scripts/spelling.txt: add "disassocation" pattern and fix typo instancesMasahiro Yamada
Fix typos and add the following to the scripts/spelling.txt: disassocation||disassociation Link: http://lkml.kernel.org/r/1481573103-11329-27-git-send-email-yamada.masahiro@socionext.com Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2017-02-09scripts/spelling.txt: add "overide" pattern and fix typo instancesMasahiro Yamada
Fix typos and add the following to the scripts/spelling.txt: overide||override While we are here, fix the doubled "address" in the touched line Documentation/devicetree/bindings/regulator/ti-abb-regulator.txt. Also, fix the comment block style in the touched hunks in drivers/media/dvb-frontends/drx39xyj/drx_driver.h. Link: http://lkml.kernel.org/r/1481573103-11329-21-git-send-email-yamada.masahiro@socionext.com Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2017-02-09scripts/spelling.txt: add "disble(d)" pattern and fix typo instancesMasahiro Yamada
Fix typos and add the following to the scripts/spelling.txt: disble||disable disbled||disabled I kept the TSL2563_INT_DISBLED in /drivers/iio/light/tsl2563.c untouched. The macro is not referenced at all, but this commit is touching only comment blocks just in case. Link: http://lkml.kernel.org/r/1481573103-11329-20-git-send-email-yamada.masahiro@socionext.com Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2017-02-09scripts/spelling.txt: add "partiton" pattern and fix typo instancesMasahiro Yamada
Fix typos and add the following to the scripts/spelling.txt: partiton||partition Link: http://lkml.kernel.org/r/1481573103-11329-7-git-send-email-yamada.masahiro@socionext.com Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2017-02-09scripts/spelling.txt: add "an union" pattern and fix typo instancesMasahiro Yamada
Fix typos and add the following to the scripts/spelling.txt: an union||a union Link: http://lkml.kernel.org/r/1481573103-11329-5-git-send-email-yamada.masahiro@socionext.com Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2017-02-09scripts/spelling.txt: add "an user" pattern and fix typo instancesMasahiro Yamada
Fix typos and add the following to the scripts/spelling.txt: an user||a user an userspace||a userspace I also added "userspace" to the list since it is a common word in Linux. I found some instances for "an userfaultfd", but I did not add it to the list. I felt it is endless to find words that start with "user" such as "userland" etc., so must draw a line somewhere. Link: http://lkml.kernel.org/r/1481573103-11329-4-git-send-email-yamada.masahiro@socionext.com Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2017-02-09fs: add i_blocksize()Fabian Frederick
Replace all 1 << inode->i_blkbits and (1 << inode->i_blkbits) in fs branch This patch also fixes multiple checkpatch warnings: WARNING: Prefer 'unsigned int' to bare use of 'unsigned' Thanks to Andrew Morton for suggesting more appropriate function instead of macro. Link: http://lkml.kernel.org/r/1481319905-10126-1-git-send-email-fabf@skynet.be Signed-off-by: Fabian Frederick <fabf@skynet.be> Cc: Alexander Viro <viro@zeniv.linux.org.uk> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2017-02-09Merge branch 'akpm-current/current'Stephen Rothwell
2017-02-09Merge remote-tracking branch 'idr/idr-4.11'Stephen Rothwell
2017-02-09Merge remote-tracking branch 'extable/extable'Stephen Rothwell
2017-02-09Merge remote-tracking branch 'rtc/rtc-next'Stephen Rothwell
2017-02-09Merge remote-tracking branch 'random/dev'Stephen Rothwell
2017-02-09Merge remote-tracking branch 'userns/for-next'Stephen Rothwell
2017-02-09Merge remote-tracking branch 'pwm/for-next'Stephen Rothwell
2017-02-09Merge remote-tracking branch 'pinctrl/for-next'Stephen Rothwell
2017-02-09Merge remote-tracking branch 'gpio/for-next'Stephen Rothwell
2017-02-09Merge remote-tracking branch 'rpmsg/for-next'Stephen Rothwell
2017-02-09Merge remote-tracking branch 'vhost/linux-next'Stephen Rothwell
2017-02-09Merge remote-tracking branch 'libata/for-next'Stephen Rothwell
2017-02-09Merge remote-tracking branch 'target-bva/for-next'Stephen Rothwell
2017-02-09Merge remote-tracking branch 'scsi/for-next'Stephen Rothwell
2017-02-09Merge remote-tracking branch 'cgroup/for-next'Stephen Rothwell
2017-02-09Merge remote-tracking branch 'slave-dma/next'Stephen Rothwell
2017-02-09Merge remote-tracking branch 'staging/staging-next'Stephen Rothwell
2017-02-09Merge remote-tracking branch 'char-misc/char-misc-next'Stephen Rothwell
2017-02-09Merge remote-tracking branch 'tty/tty-next'Stephen Rothwell
2017-02-09Merge remote-tracking branch 'usb/usb-next'Stephen Rothwell
2017-02-09Merge remote-tracking branch 'driver-core/driver-core-next'Stephen Rothwell
2017-02-09Merge remote-tracking branch 'ipmi/for-next'Stephen Rothwell
2017-02-09Merge remote-tracking branch 'leds/for-next'Stephen Rothwell
2017-02-09Merge remote-tracking branch 'workqueues/for-next'Stephen Rothwell
2017-02-09Merge remote-tracking branch 'xen-tip/linux-next'Stephen Rothwell
2017-02-09Merge remote-tracking branch 'kvm-arm/next'Stephen Rothwell
2017-02-09Merge remote-tracking branch 'kvm/linux-next'Stephen Rothwell
2017-02-09Merge remote-tracking branch 'rcu/rcu/next'Stephen Rothwell
2017-02-09Merge remote-tracking branch 'ftrace/for-next'Stephen Rothwell
2017-02-09Merge remote-tracking branch 'edac-amd/for-next'Stephen Rothwell
2017-02-09Merge remote-tracking branch 'tip/auto-latest'Stephen Rothwell
2017-02-09Merge remote-tracking branch 'spi/for-next'Stephen Rothwell
2017-02-09Merge remote-tracking branch 'audit/next'Stephen Rothwell
2017-02-09Merge remote-tracking branch 'iommu/next'Stephen Rothwell
2017-02-09Merge remote-tracking branch 'selinux/next'Stephen Rothwell
2017-02-09Merge remote-tracking branch 'keys/keys-next'Stephen Rothwell
2017-02-09Merge remote-tracking branch 'security/next'Stephen Rothwell
2017-02-09Merge remote-tracking branch 'battery/for-next'Stephen Rothwell
2017-02-09Merge remote-tracking branch 'mfd/for-mfd-next'Stephen Rothwell