Adding a brief overview of hugetlbfs reservation design and implementation
as an aid to those making code modifications in this area.
Signed-off-by: Mike Kravetz
---
Documentation/vm/00-INDEX | 2 +
Documentation/vm/hugetlbfs_reserv.txt | 529 ++
2 f
On Fri, Apr 07, 2017 at 10:15:07AM +0100, Will Deacon wrote:
> On Fri, Apr 07, 2017 at 02:37:36PM +0800, pierre Kuo wrote:
> > for below example, if MAX is defined to be 1, then the compiler knows (Q
> > % MAX) is equal to zero.
> > so compiler will transform the "else" part of code.
> >
> > q
On Apr 07 2017 or thereabouts, Mauro Carvalho Chehab wrote:
> Em Fri, 7 Apr 2017 14:17:51 +0200
> Benjamin Tissoires escreveu:
>
> > Hi Mauro,
> >
> > On Apr 07 2017 or thereabouts, Mauro Carvalho Chehab wrote:
> > > As some devices can produce either low-res or high-res
> > > vertical wheel EV_
From: Mauro Carvalho Chehab
> Sent: 05 April 2017 14:53
> Several host controllers, commonly found on ARM, like dwc2,
> require buffers that are CPU-word aligned for they to work.
>
> Failing to do that will cause buffer overflows at the caller
> drivers, with could cause data corruption.
>
> Suc
Em Fri, 7 Apr 2017 14:17:51 +0200
Benjamin Tissoires escreveu:
> Hi Mauro,
>
> On Apr 07 2017 or thereabouts, Mauro Carvalho Chehab wrote:
> > As some devices can produce either low-res or high-res
> > vertical wheel EV_REL events, add a new event to allow
> > userspace to distinguish between th
Hi Mauro,
On Apr 07 2017 or thereabouts, Mauro Carvalho Chehab wrote:
> As some devices can produce either low-res or high-res
> vertical wheel EV_REL events, add a new event to allow
> userspace to distinguish between them.
>
> Signed-off-by: Mauro Carvalho Chehab
> ---
> Documentation/input/e
As some devices can produce either low-res or high-res
vertical wheel EV_REL events, add a new event to allow
userspace to distinguish between them.
Signed-off-by: Mauro Carvalho Chehab
---
Documentation/input/event-codes.rst| 16 +---
include/uapi/linux/input-event-codes.h | 1
Some mice have a switch on their wheel, allowing to switch
between ratchet and free wheel mode. Add support for it.
Signed-off-by: Mauro Carvalho Chehab
---
Documentation/input/event-codes.rst| 12
include/linux/mod_devicetable.h| 2 +-
include/uapi/linux/input-event-co
On Fri, Apr 07, 2017 at 02:37:36PM +0800, pierre Kuo wrote:
> for below example, if MAX is defined to be 1, then the compiler knows (Q
> % MAX) is equal to zero.
> so compiler will transform the "else" part of code.
>
> q = READ_ONCE(a);
> if (q % MAX) {
> WRITE_ONCE(b, 1