kcalloc manages count*sizeof overflow.
Cc: Phillip Lougher phil...@squashfs.org.uk
Cc: Andrew Morton a...@linux-foundation.org
Signed-off-by: Fabian Frederick f...@skynet.be
---
fs/squashfs/file_direct.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
On 06/04/2014 04:20 PM, Doug Anderson wrote:
All ChromeOS ARM devices that have the standard CrOS EC have the
same keyboard mapping. It's silly to include this same definition
everywhere. Let's create a dtsi fragment that we can include from
many different boards.
This fragment is based
The MAX77802 PMIC has two 32.768kHz Buffered Clock Outputs with
Low Jitter Mode. This patch adds support for these two clocks.
Signed-off-by: Javier Martinez Canillas javier.marti...@collabora.co.uk
---
Changes since v1:
- Use module_platform_driver() instead of having init/exit functions.
Fix checkpatch warning:
WARNING: kfree(NULL) is safe this check is probably not required
Cc: Tyler Hicks tyhi...@canonical.com
Cc: ecryp...@vger.kernel.org
Signed-off-by: Fabian Frederick f...@skynet.be
---
fs/ecryptfs/messaging.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff
Unlike futex-hash, requeuing and wakeup benchmarks do not support
shared futexes, limiting the usefulness of the programs. Correct
this, and allow using the local -S parameter. The default remains
using private futexes.
Signed-off-by: Davidlohr Bueso davidl...@hp.com
---
This option is available through perf-bench, use it instead
and free the local option.
Signed-off-by: Davidlohr Bueso davidl...@hp.com
---
tools/perf/bench/futex-requeue.c | 10 +-
tools/perf/bench/futex-wake.c| 12 ++--
2 files changed, 3 insertions(+), 19 deletions(-)
diff
Instead of reinventing the wheel, we can use err(2) when dealing
with fatal errors. Exit code is now always EXIT_FAILURE (1).
Signed-off-by: Davidlohr Bueso davidl...@hp.com
---
tools/perf/bench/sched-messaging.c | 45 --
1 file changed, 19 insertions(+), 26
On Mon, Jun 16, 2014 at 10:59 AM, Toralf Förster toralf.foers...@gmx.de wrote:
On 06/16/2014 07:50 PM, Andy Lutomirski wrote:
cc: eparis. This might be a new audit bug.
On Mon, Jun 16, 2014 at 10:36 AM, Toralf Förster toralf.foers...@gmx.de
wrote:
On 06/16/2014 07:32 PM, Andy Lutomirski
-o, --only-prefault Show only the result with page faults before mem*
-n, --no-prefault Show only the result without page faults before mem*
Makes no sense to call together. Applies to both memset and memcpy.
Signed-off-by: Davidlohr Bueso davidl...@hp.com
---
Using the already existing '--format simple' option in perf-bench
is/should be equivalent to disabling any verbose output. Replace
it and free up the -s option specific to the futex benchmark.
Furthermore only show the raw output if used, as it is intended
to make scripting/parsing easier.
'i' is unused in tile_net_dev_init() after commit d581ebf5a1f
(net: tile: Use helpers from linux/etherdevice.h to check/set MAC).
Signed-off-by: Chris Metcalf cmetc...@tilera.com
---
v2: includes previous commit's summary line as suggested by Sergei Shtylyov.
drivers/net/ethernet/tile/tilegx.c
Explicitly free the thread array ('pth_tab').
Signed-off-by: Davidlohr Bueso davidl...@hp.com
---
tools/perf/bench/sched-messaging.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tools/perf/bench/sched-messaging.c
b/tools/perf/bench/sched-messaging.c
index 096ef5a..b519ba4 100644
---
First set of various updates for the perf-bench tool. I am
in the process of adding more benchmarks (ipc futex) but
wanted to get these changes in early in the -rc cycle.
Patches 3 5 depend on the first patch, otherwise updates
are pretty much without order.
Please consider applying.
Thanks!
Instead of printing sec and usec individually, simplify
into a 'runtime' variable to later use accordingly. This
is particularly helpful when later adding multiple runs
and collecting statistics.
Signed-off-by: Davidlohr Bueso davidl...@hp.com
---
tools/perf/bench/sched-messaging.c | 13
Make use of the new --repeat option in perf-bench to allow
multiple runs. This makes the avg final result much more
useful for users, including displaying statistics.
Also move up the general information output to be showed
before the actual run is done, thus allowing the user to
know what's
There are a number of benchmarks that do single runs and
as a result does not really help users gain a general idea
of how the workload performs. So the user must either manually
do multiple runs or just use single bogus results.
This option will enable users to specify the amount of runs
On 6/16/2014 12:49 PM, Nicholas Krause wrote:
Signed-off-by: Nicholas Krause xerofo...@gmail.com
---
drivers/infiniband/hw/cxgb4/cm.c | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/drivers/infiniband/hw/cxgb4/cm.c b/drivers/infiniband/hw/cxgb4/cm.c
index
On 06/16/2014 08:15 PM, Andy Lutomirski wrote:
On Mon, Jun 16, 2014 at 10:59 AM, Toralf Förster toralf.foers...@gmx.de
wrote:
On 06/16/2014 07:50 PM, Andy Lutomirski wrote:
cc: eparis. This might be a new audit bug.
On Mon, Jun 16, 2014 at 10:36 AM, Toralf Förster toralf.foers...@gmx.de
This small patchset converts romfs to current logging functions and fixes some
checkpatch warnings.
Fabian Frederick (3):
fs/romfs/super.c: convert printk to pr_foo()
fs/romfs/super.c: use pr_fmt in logging
fs/romfs/super.c: add blank line after declarations.
fs/romfs/super.c | 23
On Mon, Jun 16, 2014 at 11:21 AM, Toralf Förster toralf.foers...@gmx.de wrote:
On 06/16/2014 08:15 PM, Andy Lutomirski wrote:
On Mon, Jun 16, 2014 at 10:59 AM, Toralf Förster toralf.foers...@gmx.de
wrote:
On 06/16/2014 07:50 PM, Andy Lutomirski wrote:
cc: eparis. This might be a new audit
Use current logging functions.
+coalesce formats
Cc: Al Viro v...@zeniv.linux.org.uk
Cc: Andrew Morton a...@linux-foundation.org
Signed-off-by: Fabian Frederick f...@skynet.be
---
fs/romfs/super.c | 16 +++-
1 file changed, 7 insertions(+), 9 deletions(-)
diff --git
On Mon, 2014-06-16 at 09:40 +0300, Dan Carpenter wrote:
On Fri, Jun 13, 2014 at 12:52:25PM -0700, Joe Perches wrote:
On Fri, 2014-06-13 at 12:46 +0300, Dan Carpenter wrote:
On Fri, Jun 13, 2014 at 02:30:22AM -0700, Joe Perches wrote:
+# check for missing a space in a string
-Remove Error in format logging (already in pr_ level)
-Use modulename in pr_fmt instead of ROMFS: in each pr_ callsites.
Cc: Al Viro v...@zeniv.linux.org.uk
Cc: Andrew Morton a...@linux-foundation.org
Signed-off-by: Fabian Frederick f...@skynet.be
---
fs/romfs/super.c | 15 ---
1
Trying to boot 3.16.0-rc1+ (the + is a small vlan related patch) on a
tests system triggers the following BUG:
Jun 16 13:54:50 scratch kernel: BUG: sleeping function called from
invalid context at kernel/locking/mutex.c:586
Jun 16 13:54:50 scratch kernel: in_atomic(): 1, irqs_disabled(): 1, pid:
Kukjin,
On Mon, Jun 16, 2014 at 11:14 AM, Stephen Warren swar...@wwwdotorg.org wrote:
On 06/04/2014 04:20 PM, Doug Anderson wrote:
All ChromeOS ARM devices that have the standard CrOS EC have the
same keyboard mapping. It's silly to include this same definition
everywhere. Let's create a
Signed-off-by: Nicholas Krause xerofo...@gmail.com
---
drivers/infiniband/hw/cxgb4/cm.c | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/drivers/infiniband/hw/cxgb4/cm.c b/drivers/infiniband/hw/cxgb4/cm.c
index 5e153f6..c518411 100644
--- a/drivers/infiniband/hw/cxgb4/cm.c
Fix checkpatch warning:
WARNING: Missing a blank line after declarations
Cc: Al Viro v...@zeniv.linux.org.uk
Cc: Andrew Morton a...@linux-foundation.org
Signed-off-by: Fabian Frederick f...@skynet.be
---
fs/romfs/super.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/fs/romfs/super.c
The function machine__get_kernel_start_addr() was taking the first symbol
of kallsyms as the start address. This is incorrect in certain cases
where the first symbol is something at 0, while the actual kernel
functions begin at a later point (e.g. 0x8020).
This patch fixes
On 6/16/2014 1:30 PM, Nicholas Krause wrote:
Signed-off-by: Nicholas Krause xerofo...@gmail.com
---
drivers/infiniband/hw/cxgb4/cm.c | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/drivers/infiniband/hw/cxgb4/cm.c b/drivers/infiniband/hw/cxgb4/cm.c
index
Kukjin,
On Wed, Jun 11, 2014 at 8:28 AM, Kukjin Kim kgene@samsung.com wrote:
On 06/12/14 00:19, Doug Anderson wrote:
Chander,
On Tue, Jun 10, 2014 at 9:52 PM, Chander Kashyapk.chan...@samsung.com
wrote:
Hi Doug,
On Tue, Jun 10, 2014 at 9:19 PM, Nicolas Pitrenicolas.pi...@linaro.org
On 06/16/2014 08:24 PM, Andy Lutomirski wrote:
On Mon, Jun 16, 2014 at 11:21 AM, Toralf Förster toralf.foers...@gmx.de
wrote:
On 06/16/2014 08:15 PM, Andy Lutomirski wrote:
On Mon, Jun 16, 2014 at 10:59 AM, Toralf Förster toralf.foers...@gmx.de
wrote:
On 06/16/2014 07:50 PM, Andy
Nicolas,
On Mon, Jun 9, 2014 at 1:55 PM, Nicolas Pitre nicolas.pi...@linaro.org wrote:
On Mon, 9 Jun 2014, Kevin Hilman wrote:
On Mon, Jun 9, 2014 at 1:22 PM, Nicolas Pitre nicolas.pi...@linaro.org
wrote:
On Mon, 9 Jun 2014, Andrew Bresticker wrote:
[1] While waiting for the
On Mon, 2014-06-16 at 20:12 +0200, Fabian Frederick wrote:
kcalloc manages count*sizeof overflow.
so does kmalloc_array
diff --git a/fs/squashfs/file_direct.c b/fs/squashfs/file_direct.c
[]
- page = kmalloc(sizeof(void *) * pages, GFP_KERNEL);
+ page = kcalloc(pages, sizeof(void *),
Am 16.06.2014 um 20:05 schrieb Cong Wang cw...@twopensource.com:
On Mon, Jun 16, 2014 at 5:51 AM, Stefan Priebe - Profihost AG
s.pri...@profihost.ag wrote:
Hi,
i'm using a vanilla 3.10.43 kernel and netconsole on top of a bridge.
netconsole is used with vmbr0 (bridge) which is on top
Driver for regulators exposed by the Resource Power Manager (RPM) found
in Qualcomm 8660, 8960 and 8064 based devices.
Signed-off-by: Bjorn Andersson bjorn.anders...@sonymobile.com
---
drivers/regulator/Kconfig | 12 +
drivers/regulator/Makefile | 1 +
On 6/16/2014 1:34 PM, Steve Wise wrote:
On 6/16/2014 1:30 PM, Nicholas Krause wrote:
Signed-off-by: Nicholas Krause xerofo...@gmail.com
---
drivers/infiniband/hw/cxgb4/cm.c | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/drivers/infiniband/hw/cxgb4/cm.c
On Mon, Jun 16, 2014 at 12:55:35PM +0100, Stefano Stabellini wrote:
On Fri, 13 Jun 2014, Daniel Kiper wrote:
This patch enables EFI usage under Xen dom0. Standard EFI Linux
Kernel infrastructure cannot be used because it requires direct
access to EFI data and code. However, in dom0 case it
Driver for the Resource Power Manager (RPM) found in Qualcomm 8660, 8960
and 8064 based devices. The driver exposes resources that child drivers
can operate on; to implementing regulator, clock and bus frequency
drivers.
Signed-off-by: Bjorn Andersson bjorn.anders...@sonymobile.com
---
This series adds a regulator driver for the Resource Power Manager found in
Qualcomm 8660, 8960 and 8064 based devices.
The RPM driver exposes resources to its child devices, that can be accessed to
implement drivers for the regulators, clocks and bus frequency control that's
owned by the RPM in
Add binding for the Qualcomm Resource Power Manager (RPM) found in 8660,
8960 and 8064 based devices. The binding currently describes the rpm
itself and the regulator subnodes.
Signed-off-by: Bjorn Andersson bjorn.anders...@sonymobile.com
---
.../devicetree/bindings/soc/qcom/qcom,rpm.txt |
diff --git a/drivers/infiniband/hw/cxgb4/cm.c b/drivers/infiniband/hw/cxgb4/cm.c
index 5e153f6..e0c43a3 100644
--- a/drivers/infiniband/hw/cxgb4/cm.c
+++ b/drivers/infiniband/hw/cxgb4/cm.c
@@ -457,6 +457,10 @@ static void send_flowc(struct c4iw_ep *ep, struct sk_buff
*skb)
int i;
On Mon, 16 Jun 2014, Doug Anderson wrote:
Nicolas,
On Mon, Jun 9, 2014 at 1:55 PM, Nicolas Pitre nicolas.pi...@linaro.org
wrote:
On Mon, 9 Jun 2014, Kevin Hilman wrote:
On Mon, Jun 9, 2014 at 1:22 PM, Nicolas Pitre nicolas.pi...@linaro.org
wrote:
On Mon, 9 Jun 2014, Andrew
kmalloc_array manages count*sizeof overflow.
Cc: Phillip Lougher phil...@squashfs.org.uk
Cc: Andrew Morton a...@linux-foundation.org
Cc: Joe Perches j...@perches.com
Signed-off-by: Fabian Frederick f...@skynet.be
---
V2:
use kmalloc_array instead of kcalloc (suggested by Joe Perches).
On Mon, Jun 16, 2014 at 04:50:51PM +0200, Stephan Gabert wrote:
As mentioned in net/core/dev.c register_netdev() explicitly returns a
negative errno code on failure.
So in case of failure, one should rather test whether ret is negative
than just unlike 0.
No. In the kernel the normal way
On Mon, Jun 16, 2014 at 11:41 AM, Stefan Priebe - Profihost AG
s.pri...@profihost.ag wrote:
Am 16.06.2014 um 20:05 schrieb Cong Wang cw...@twopensource.com:
On Mon, Jun 16, 2014 at 5:51 AM, Stefan Priebe - Profihost AG
s.pri...@profihost.ag wrote:
Hi,
i'm using a vanilla 3.10.43 kernel and
diff --git a/drivers/infiniband/hw/cxgb4/cm.c b/drivers/infiniband/hw/cxgb4/cm.c
index 5e153f6..e0c43a3 100644
--- a/drivers/infiniband/hw/cxgb4/cm.c
+++ b/drivers/infiniband/hw/cxgb4/cm.c
@@ -457,6 +457,10 @@ static void send_flowc(struct c4iw_ep *ep, struct sk_buff
*skb)
int i;
On 06/12/2014 09:58 AM, Peter De Schrijver wrote:
This patchset introduces support for Tegra's microsecond counter as the
udelay() timer. This is useful on Tegra SoCs which do not have an arch timer
such as Tegra20 and Tegra30. Using the microsecond counter instead of a delay
based loop avoids
We offer all purpose loan at 3% interest rate. Contact Us for more details by
Email:santanderfinancegr...@gmail.com
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at
diff --git a/drivers/infiniband/hw/cxgb4/cm.c b/drivers/infiniband/hw/cxgb4/cm.c
index 5e153f6..e0c43a3 100644
--- a/drivers/infiniband/hw/cxgb4/cm.c
+++ b/drivers/infiniband/hw/cxgb4/cm.c
@@ -457,6 +457,10 @@ static void send_flowc(struct c4iw_ep *ep, struct sk_buff
*skb)
int i;
-Original Message-
From: Will Deacon [mailto:will.dea...@arm.com]
Sent: Monday, June 16, 2014 12:04 PM
To: Yoder Stuart-B08248
Cc: Sethi Varun-B16395; Thierry Reding; Mark Rutland;
devicet...@vger.kernel.org; linux-samsung-...@vger.kernel.org; Pawel
Moll; Arnd Bergmann; Ian
On 06/09/2014 04:52 PM, Marcel Ziswiler wrote:
The NVIDIA Tegra 3 based Apalis T30 module contains an Intel i210 resp.
i211 gigabit Ethernet controller, an STMPE811 ADC/touch controller, I2C
buses and PWM LEDs generically accessible from user space and an
LM95245 temperature sensor chip. The
diff --git a/drivers/infiniband/hw/cxgb4/cm.c b/drivers/infiniband/hw/cxgb4/cm.c
index 5e153f6..e0c43a3 100644
--- a/drivers/infiniband/hw/cxgb4/cm.c
+++ b/drivers/infiniband/hw/cxgb4/cm.c
@@ -457,6 +457,10 @@ static void send_flowc(struct c4iw_ep *ep, struct sk_buff
*skb)
int i;
Hi,
On Mon, Jun 16, 2014 at 02:21:19PM +0530, Varka Bhadram wrote:
...
+
+static void cc2520_unregister(struct cc2520_private *priv)
+{
+ ieee802154_unregister_device(priv-dev);
+ ieee802154_free_device(priv-dev);
+}
Only used in remove callback of module. It's small enough to do this
On Sun, 15 Jun 2014 12:11:42 -0400
Bob Copeland m...@bobcopeland.com wrote:
On Sun, Jun 15, 2014 at 08:39:20AM +0200, Fabian Frederick wrote:
Use more explicit kernel.h definition
array_size = DIV_ROUND_UP(bitmap_size, sb-s_blocksize);
- if (sbi-s_bitmap_ino == ~0ULL)
+ if
On 06/16/2014 04:54 AM, Juergen Gross wrote:
And shouldn't it be removed from include/linux/efi.h as well?
Indeed.
-hpa
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at
On Sun, Jun 15, 2014 at 12:41:47AM +0200, Rickard Strandqvist wrote:
Replacing strncpy with strlcpy to avoid strings that lacks null terminate.
Generally in the kernel we allow strncpy() if people want to use it.
Let's not start doing sed replacements of these if it doesn't cause a
problem.
On 04/30/2014 11:44 AM, Doug Anderson wrote:
This adds the EC i2c tunnel (and devices under it) to the
tegra124-venice2 device tree.
I've applied this to Tegra's for-3.17/dt branch.
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to
Am 16.06.2014 um 20:51 schrieb Cong Wang cw...@twopensource.com:
On Mon, Jun 16, 2014 at 11:41 AM, Stefan Priebe - Profihost AG
s.pri...@profihost.ag wrote:
Am 16.06.2014 um 20:05 schrieb Cong Wang cw...@twopensource.com:
On Mon, Jun 16, 2014 at 5:51 AM, Stefan Priebe - Profihost AG
On Mon, Jun 16, 2014 at 01:00:29PM +0100, David Vrabel wrote:
On 13/06/14 18:00, Daniel Kiper wrote:
v5 - suggestions/fixes:
Put after a --- marker.
Why?
You mean:
---
v5 - suggestions/fixes:
...
+static efi_char16_t vendor[100] __initdata;
Why 100?
Well... Quite arbitrary value.
On Mon, Jun 16, 2014 at 10:01:14PM +0300, Dan Carpenter wrote:
No one calls U14DriverName() so just delete this function.
Oh. This is a userspace library or something? I'm not sure what to do.
How did you compile test this? Does your platform even provide
strlcpy()?
Anyway, don't delete
On Mon, Jun 16, 2014 at 12:05 PM, Stefan Priebe - Profihost AG
s.pri...@profihost.ag wrote:
Am 16.06.2014 um 20:51 schrieb Cong Wang cw...@twopensource.com:
On Mon, Jun 16, 2014 at 11:41 AM, Stefan Priebe - Profihost AG
s.pri...@profihost.ag wrote:
Am 16.06.2014 um 20:05 schrieb Cong Wang
On 06/09/2014 04:52 PM, Marcel Ziswiler wrote:
This patch adds the device tree to support Toradex Apalis T30, a
computer on module which can be used on different carrier boards.
The module consists of a Tegra 3 SoC, two PMICs, 1 or 2 GB of DDR3L
RAM, eMMC, an LM95245 temperature sensor chip,
Am 16.06.2014 um 21:12 schrieb Cong Wang cw...@twopensource.com:
On Mon, Jun 16, 2014 at 12:05 PM, Stefan Priebe - Profihost AG
s.pri...@profihost.ag wrote:
Am 16.06.2014 um 20:51 schrieb Cong Wang cw...@twopensource.com:
On Mon, Jun 16, 2014 at 11:41 AM, Stefan Priebe - Profihost AG
This changes activates the iommu support for MDP5, through the
platform config structure.
Iommu support is also slightly modified in order to make sure
that MDP iommu is properly cleaned up if a probe deferral is
requested. Before this change, IOMMU faults would occur if the
probe failed
On Mon, Jun 16, 2014 at 08:02:35PM +0200, Javier Martinez Canillas wrote:
--- a/drivers/mfd/max77802.c
+++ b/drivers/mfd/max77802.c
@@ -37,6 +37,7 @@
#include linux/err.h
static const struct mfd_cell max77802_devs[] = {
+ { .name = max77802-pmic, },
};
static bool
On Mon, Jun 16, 2014 at 08:02:34PM +0200, Javier Martinez Canillas wrote:
+- max77802,pmic-buck-dvs-gpios: The DVS GPIOs. We'll try to set these GPIOs
+ to match pmic-buck-default-dvs-idx at probe time if they are defined. If
+ some or all of these GPIOs are not defined it's assumed that the
On 06/12/2014 05:45 PM, David Rientjes wrote:
On Thu, 12 Jun 2014, Waiman Long wrote:
The vma_address() function which is used to compute the virtual address
within a VMA is used only by 2 files in the mm subsystem - rmap.c and
huge_memory.c. This function is defined in rmap.c and is inlined
In the __split_huge_page_map() function, the check for
page_mapcount(page) is invariant within the for loop. Because of the
fact that the macro is implemented using atomic_read(), the redundant
check cannot be optimized away by the compiler leading to unnecessary
read to the page structure.
This
This series adds SMP support for two Broadcom mobile SoC families.
It uses CPU_METHOD_OF_DECLARE() so that SMP operations are assigned
using device tree rather than adding it to a machine definition in a
board file.
The enable method starts a secondary core by writing to a register
monitored by
Also explicitly set CONFIG_NR_CPUS to 2, limiting it to the most we
currently need.
Signed-off-by: Ray Jui r...@broadcom.com
Signed-off-by: Alex Elder el...@linaro.org
---
arch/arm/configs/bcm_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/configs/bcm_defconfig
This patch adds SMP support for BCM281XX and BCM21664 family SoCs.
This feature is controlled with a distinct config option such that
an SMP-enabled multi-v7 binary can be configured to run these SoCs
in uniprocessor mode. Since this SMP functionality is used for
multiple Broadcom mobile chip
Define nodes representing the two Cortex A9 CPUs in a bcm21644 SoC.
Signed-off-by: Alex Elder el...@linaro.org
---
arch/arm/boot/dts/bcm21664.dtsi | 19 +++
1 file changed, 19 insertions(+)
diff --git a/arch/arm/boot/dts/bcm21664.dtsi b/arch/arm/boot/dts/bcm21664.dtsi
index
Define nodes representing the two Cortex A9 CPUs in a bcm28155 SoC.
Signed-off-by: Ray Jui r...@broadcom.com
Signed-off-by: Alex Elder el...@linaro.org
---
arch/arm/boot/dts/bcm11351.dtsi | 19 +++
1 file changed, 19 insertions(+)
diff --git a/arch/arm/boot/dts/bcm11351.dtsi
Broadcom mobile SoCs use a ROM-implemented holding pen for
controlled boot of secondary cores. A special register is
used to communicate to the ROM that a secondary core should
start executing kernel code. This enable method is currently
used for members of the bcm281xx and bcm21664 SoC
Signed-off-by: Nicholas Krause xerofo...@gmail.com
---
fs/logfs/readwrite.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/fs/logfs/readwrite.c b/fs/logfs/readwrite.c
index 4814031..adb9233 100644
--- a/fs/logfs/readwrite.c
+++ b/fs/logfs/readwrite.c
@@ -2210,6 +2210,8 @@ void
The index is correct, but there are two sections tagged 3.7. Fix.
Signed-off-by: Richard Guy Briggs r...@redhat.com
---
Documentation/filesystems/proc.txt |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Documentation/filesystems/proc.txt
Thanks to the review from Jason and Peter. I've moved the check
of whether load balance is required into fair.c's idle_balance.
When a system is lightly loaded (i.e. no more than 1 job per cpu),
attempt to pull job to a cpu before putting it to idle is unnecessary and
can be skipped. This patch
Replace spaces in op keyword labels in log output since userspace audit tools
can't parse orphaned keywords.
Reported-by: Steve Grubb sgr...@redhat.com
Signed-off-by: Richard Guy Briggs r...@redhat.com
---
security/integrity/ima/ima_appraise.c |2 +-
security/integrity/ima/ima_policy.c |
audit_net_id isn't used outside kernel/audit.c. Reduce its scope.
Signed-off-by: Richard Guy Briggs r...@redhat.com
---
kernel/audit.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/kernel/audit.c b/kernel/audit.c
index 59c0bbe..bdd0172 100644
--- a/kernel/audit.c
+++
Currently, __GFP_NORETRY tries charging once and gives up before even
trying to reclaim. Bring the behavior on par with the page allocator
and reclaim at least once before giving up.
Signed-off-by: Johannes Weiner han...@cmpxchg.org
Acked-by: Michal Hocko mho...@suse.cz
---
mm/memcontrol.c | 6
audit_log_fcaps() isn't used outside kernel/audit.c. Reduce its scope.
Signed-off-by: Richard Guy Briggs r...@redhat.com
---
kernel/audit.c |2 +-
kernel/audit.h |1 -
2 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/kernel/audit.c b/kernel/audit.c
index bdd0172..3225a5d
The memcg charge API charges pages before they are rmapped - i.e. have
an actual type - and so every callsite needs its own set of charge
and uncharge functions to know what type is being operated on. Worse,
uncharge has to happen from a context that is still type-specific,
rather than at the end
Due to an old optimization to keep expensive res_counter changes at a
minimum, the root_mem_cgroup res_counter is never charged; there is no
limit at that level anyway, and any statistics can be generated on
demand by summing up the counters of all other cgroups.
However, with per-cpu charge
When mem_cgroup_try_charge() returns -EINTR, it bypassed the charge to
the root memcg. But move precharging does not catch this and treats
this case as if no charge had happened, thus leaking a charge against
root. Because of an old optimization, the root memcg's res_counter is
not actually
There is a write barrier between setting pc-mem_cgroup and
PageCgroupUsed, which was added to allow LRU operations to lookup the
memcg LRU list of a page without acquiring the page_cgroup lock.
But ever since 38c5d72f3ebe (memcg: simplify LRU handling by new
rule), pages are ensured to be off-LRU
Kmem page charging and uncharging is serialized by means of exclusive
access to the page. Do not take the page_cgroup lock and don't set
pc-flags atomically.
Signed-off-by: Johannes Weiner han...@cmpxchg.org
Acked-by: Michal Hocko mho...@suse.cz
Acked-by: Vladimir Davydov vdavy...@parallels.com
Transparent huge page charges prefer falling back to regular pages
rather than spending a lot of time in direct reclaim.
Desired reclaim behavior is usually declared in the gfp mask, but THP
charges use GFP_KERNEL and then rely on the fact that OOM is disabled
for THP charges, and that
Since only one of val, uid and gid are used at any given time, combine them to
reduce the size of the struct audit_field.
Signed-off-by: Richard Guy Briggs r...@redhat.com
---
include/linux/audit.h |8 +---
kernel/auditfilter.c |2 --
2 files changed, 5 insertions(+), 5 deletions(-)
The move precharge function does some baroque things: it tries raw
res_counter charging of the entire amount first, and then falls back
to a loop of one-by-one charges, with checks for pending signals and
cond_resched() batching.
Just use mem_cgroup_try_charge() without __GFP_WAIT for the first
There is no reason why oom-disabled and __GFP_NOFAIL charges should
try to reclaim only once when every other charge tries several times
before giving up. Make them all retry the same number of times.
Signed-off-by: Johannes Weiner han...@cmpxchg.org
---
mm/memcontrol.c | 8
1 file
Hi,
this is v3 of the memcg charge naturalization series. Changes since
v2 include:
o make THP charges use __GFP_NORETRY to prevent excessive reclaim (Michal)
o simplify move precharging while in the area
o add acks rebase to v3.16-rc1
These patches rework memcg charge lifetime to integrate
This function was split out because mem_cgroup_try_charge() got too
big. But having essentially one sequence of operations arbitrarily
split in half is not good for reworking the code. Fold it back in.
Signed-off-by: Johannes Weiner han...@cmpxchg.org
Acked-by: Michal Hocko mho...@suse.cz
---
The charging path currently starts out with OOM condition checks when
OOM is the rarest possible case.
Rearrange this code to run OOM/task dying checks only after trying the
percpu charge and the res_counter charge and bail out before entering
reclaim. Attempting a charge does not hurt an
On Sun, Jun 15, 2014 at 05:19:29PM -0700, Hugh Dickins wrote:
On Fri, 6 Jun 2014, Naoya Horiguchi wrote:
There's a race between fork() and hugepage migration, as a result we try to
dereference a swap entry as a normal pte, causing kernel panic.
The cause of the problem is that
Since there is already a primitive to do this operation in the atomic_t, use it
to simplify audit_serial().
Signed-off-by: Richard Guy Briggs r...@redhat.com
---
kernel/audit.c | 14 ++
1 files changed, 2 insertions(+), 12 deletions(-)
diff --git a/kernel/audit.c b/kernel/audit.c
On 06/16/2014 07:35 AM, Tomeu Vizoso wrote:
Adds functionality for registering memory bandwidth needs and setting
the EMC clock rate based on that.
Also adds API for setting floor and ceiling frequency rates.
diff --git
a/Documentation/devicetree/bindings/arm/tegra/nvidia,tegra124-emc.txt
Add a PHY driver for uses with AHCI based SATA controller driver on the
IPQ806x family of SoCs.
Signed-off-by: Kumar Gala ga...@codeaurora.org
---
v3:
* Added Kconfig HAS_IOMEM dep
* re-ordered probe function so phy_provider_register is last
v2:
* dropped unused dev pointer in struct
On 14/06/14 23:27, Philippe Reynes wrote:
This driver add partial support of the
maxim 1027/1029/1031. Differential mode is not
supported.
It was tested on armadeus apf27 board.
Signed-off-by: Philippe Reynes trem...@yahoo.fr
I'm happy with this now.
Hartmut, anything else you want to raise,
On Mon, Jun 16, 2014 at 01:38:23PM -0400, Vivek Goyal wrote:
And what's the sane default in this case?
COMMAND_LINE_SIZE
Using current kernel's command line size will not work if future
kernel decide to support even longer command line size.
When do you ever get to kexec a kernel with
On Mon, Jun 16, 2014 at 03:47:01PM -0400, Nicholas Krause wrote:
Signed-off-by: Nicholas Krause xerofo...@gmail.com
---
fs/logfs/readwrite.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/fs/logfs/readwrite.c b/fs/logfs/readwrite.c
index 4814031..adb9233 100644
---
501 - 600 of 1732 matches
Mail list logo