[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[SCM] GNU Mach branch, master, updated. v1.4-377-g322fa73
From: |
Justus Winter |
Subject: |
[SCM] GNU Mach branch, master, updated. v1.4-377-g322fa73 |
Date: |
Mon, 06 Jan 2014 11:53:21 +0000 |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Mach".
The branch, master has been updated
via 322fa73afed84fe37fb7bfe0583109ff33eb26d7 (commit)
via 069b4fb65ec13741c40356c16c312a50771fb589 (commit)
via e013a9371d567af6504ed38befb6e866faf7afe7 (commit)
via 5faed5128d3c07f055f96d910529c95814073a09 (commit)
from 8982de2eb4fa2fa6f5a350c348c211542aecfaa1 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 322fa73afed84fe37fb7bfe0583109ff33eb26d7
Author: Justus Winter <address@hidden>
Date: Mon Jan 6 00:31:16 2014 +0100
kern: optimize the layout of struct kmem_cache
* kern/slab.h (struct kmem_cache): Reorder the fields so that all hot
fields are within the first cache line.
commit 069b4fb65ec13741c40356c16c312a50771fb589
Author: Justus Winter <address@hidden>
Date: Sun Jan 5 19:51:11 2014 +0100
kern: explain the significance of the chosen length
* kern/slab.h (KMEM_CACHE_NAME_SIZE): Explain the significance of the
chosen length.
commit e013a9371d567af6504ed38befb6e866faf7afe7
Author: Justus Winter <address@hidden>
Date: Sun Jan 5 14:22:15 2014 +0100
linux: fix bit tests
The pattern is !x&y. An expression of this form is almost always
meaningless, because it combines a boolean operator with a bit
operator. In particular, if the rightmost bit of y is 0, the result
will always be 0.
Fixed using coccinelle.
// !x&y combines boolean negation with bitwise and
//
// Confidence: High
// Copyright: (C) Gilles Muller, Julia Lawall, EMN, DIKU. GPLv2.
// URL: http://www.emn.fr/x-info/coccinelle/rules/notand.html
// Options:
@@ expression E1,E2; @@
(
!E1 & !E2
|
- !E1 & E2
+ !(E1 & E2)
)
* linux/src/drivers/scsi/FlashPoint.c: Fix bit tests.
commit 5faed5128d3c07f055f96d910529c95814073a09
Author: Justus Winter <address@hidden>
Date: Sun Jan 5 14:11:29 2014 +0100
linux: fix bit tests
The pattern is !x&y. An expression of this form is almost always
meaningless, because it combines a boolean operator with a bit
operator. In particular, if the rightmost bit of y is 0, the result
will always be 0.
Fixed using coccinelle.
// !x&y combines boolean negation with bitwise and
//
// Confidence: High
// Copyright: (C) Gilles Muller, Julia Lawall, EMN, DIKU. GPLv2.
// URL: http://www.emn.fr/x-info/coccinelle/rules/notand.html
// Options:
@@ expression E; constant C; @@
(
!E & !C
|
- !E & C
+ !(E & C)
)
* linux/src/drivers/net/tlan.c: Fix bit tests.
* linux/src/drivers/scsi/AM53C974.c: Likewise.
* linux/src/drivers/scsi/FlashPoint.c: Likewise.
* linux/src/drivers/scsi/NCR5380.c: Likewise.
* linux/src/drivers/scsi/t128.c: Likewise.
-----------------------------------------------------------------------
Summary of changes:
kern/slab.h | 22 +++++++++++++++-------
linux/src/drivers/net/tlan.c | 4 ++--
linux/src/drivers/scsi/AM53C974.c | 2 +-
linux/src/drivers/scsi/FlashPoint.c | 14 +++++++-------
linux/src/drivers/scsi/NCR5380.c | 4 ++--
linux/src/drivers/scsi/t128.c | 4 ++--
6 files changed, 29 insertions(+), 21 deletions(-)
hooks/post-receive
--
GNU Mach
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [SCM] GNU Mach branch, master, updated. v1.4-377-g322fa73,
Justus Winter <=