Go to file
Stephen Bates 36a3d1dd4e lib/genalloc.c: make the avail variable an atomic_long_t
If the amount of resources allocated to a gen_pool exceeds 2^32 then the
avail atomic overflows and this causes problems when clients try and
borrow resources from the pool.  This is only expected to be an issue on
64 bit systems.

Add the <linux/atomic.h> header to pull in atomic_long* operations.  So
that 32 bit systems continue to use atomic32_t but 64 bit systems can
use atomic64_t.

Link: http://lkml.kernel.org/r/1509033843-25667-1-git-send-email-sbates@raithlin.com
Signed-off-by: Stephen Bates <sbates@raithlin.com>
Reviewed-by: Logan Gunthorpe <logang@deltatee.com>
Reviewed-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Reviewed-by: Daniel Mentz <danielmentz@google.com>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Will Deacon <will.deacon@arm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2017-11-17 16:10:02 -08:00
arch bug: define the "cut here" string in a single place 2017-11-17 16:10:01 -08:00
block
certs
crypto
Documentation dynamic_debug documentation: minor fixes 2017-11-17 16:10:01 -08:00
drivers lkdtm: include WARN format string 2017-11-17 16:10:01 -08:00
firmware
fs proc: use do-while in name_to_int() 2017-11-17 16:10:00 -08:00
include lib/genalloc.c: make the avail variable an atomic_long_t 2017-11-17 16:10:02 -08:00
init
ipc
kernel kernel/umh.c: optimize 'proc_cap_handler()' 2017-11-17 16:10:01 -08:00
lib lib/genalloc.c: make the avail variable an atomic_long_t 2017-11-17 16:10:02 -08:00
mm mm, compaction: remove unneeded pageblock_skip_persistent() checks 2017-11-17 16:10:00 -08:00
net
samples
scripts get_maintainer: add more --self-test options 2017-11-17 16:10:01 -08:00
security
sound
tools libnvdimm for 4.15 2017-11-17 09:51:57 -08:00
usr
virt
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap Add Jason Gunthorpe as co-maintainer of the RDMA stack 2017-11-17 09:36:18 -08:00
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS libnvdimm for 4.15 2017-11-17 09:51:57 -08:00
Makefile
README

Linux kernel
============

This file was moved to Documentation/admin-guide/README.rst

Please notice that there are several guides for kernel developers and users.
These guides can be rendered in a number of formats, like HTML and PDF.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.
See Documentation/00-INDEX for a list of what is contained in each file.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.