On Thu, Jul 7, 2016 at 8:35 PM, Vivek Goyal wrote:
> On Wed, Jul 06, 2016 at 04:58:37PM +0200, Miklos Szeredi wrote:
>> On Wed, Jul 6, 2016 at 12:54 PM, Vivek Goyal wrote:
>> > On Wed, Jul 06, 2016 at 06:36:49AM +0200, Miklos Szeredi wrote:
>> >> On Tue, Jul 5, 2016 at 11:16 PM, Vivek Goyal wrot
--
I AM DR HARUNA BELLO FROM BURKINA FASO I HAVE A GENIUE
BUSINESS TRANSACTION OF 18.5MILLION U.S DOLLAS TO DO WITH YOU
IF YOU ARE INTERESTED SEND TO ME THE FOLLOWING INFORMATION
IMMEDIATELY.
YOUR FULL NAME..
YOUR OCCUPATION.
YOUR AGE
YOUR MARITAL STATUS.
YOUR PHONE NU
When failing to lookup the assigned clock for setting its parents, we
were previously printing a misleading error message that lead to think
that it was the parent clock what couldn't be found.
Change error message to make clear that it's the assigned clock what
couldn't be found in this case.
Si
* Dave Hansen wrote:
> > Applications that frequently get called will get hammed into the ground
> > with
> > serialisation on mmap_sem not to mention the cost of the syscall entry/exit.
>
> I think we can do both of them without mmap_sem, as long as we resign
> ourselves
> to this just bein
On Thu, Jul 07, 2016 at 11:54:54PM -0700, Andrew Vagin wrote:
> On Thu, Jul 07, 2016 at 10:26:50PM -0700, W. Trevor King wrote:
> > On Thu, Jul 07, 2016 at 08:26:47PM -0700, James Bottomley wrote:
> > > On Thu, 2016-07-07 at 20:00 -0700, Andrew Vagin wrote:
> > > > On Thu, Jul 07, 2016 at 07:16:18P
On Thu, Jul 7, 2016 at 11:44 PM, Casey Schaufler wrote:
> On 7/7/2016 1:33 PM, Vivek Goyal wrote:
>> On Tue, Jul 05, 2016 at 12:36:17PM -0700, Casey Schaufler wrote:
>>> On 7/5/2016 8:50 AM, Vivek Goyal wrote:
Provide a security hook to label new file correctly when a file is copied
up f
Hi David,
> On Jul 7, 2016, at 10:15 , David Gibson wrote:
>
> On Sat, Jul 02, 2016 at 04:55:49PM -0700, frowand.l...@gmail.com wrote:
>> From: Frank Rowand
>>
>> Hi All,
>>
>> This is version 2 of this email.
>>
>> Changes from version 1:
>>
>> - some rewording of the text
>> - removed n
Bruno Prémont wrote on 30.06.2016 17:00:
> In qla24xx_process_response_queue() rsp->msix->cpuid may trigger NULL
> pointer dereference when rsp->msix is NULL:
> […]
> The affected code was introduced by commit
> cdb898c52d1dfad4b4800b83a58b3fe5d352edde
> (qla2xxx: Add irq affinity notification).
>
* Rik van Riel wrote:
> On Thu, 2016-07-07 at 16:27 +0200, Frederic Weisbecker wrote:
> > Hi Rick,
> >
> > While reviewing your 2nd patch, I thought about these cleanups.
> > Perhaps
> > the first one could be merged into your patch. I let you decide.
>
> I'm not convinced we want to merge cle
Hello,
On Fri, 8 Jul 2016 00:37:46 +0200, Gregory CLEMENT wrote:
> +gpio1: gpio@13800 {
> + compatible = "marvell,mvebu-gpio-3700", "syscon", "simple-mfd";
I find this compatible string not very consistent with what we do for
other drivers, it should have been:
marvell,armada-3700-
Hi,
I tested these patches on Renesas SoC r8a7790(CA15*4 + CA7*4)
and your preview branch[1] on Renesas SoC r8a7795(CA57*4 + CA53*4).
> Test 0:
> for i in `seq 1 10`; \
> do sysbench --test=cpu --max-time=3 --num-threads=1 run;
> \
> done \
> | awk '{if ($4==
* Eric W. Biederman wrote:
> Sigh. Can we please just do the work to rip out the apic shutdown code from
> the
> kexec on panic code path?
>
> I forgetting details but the only reason we have do any apic shutdown is bugs
> in
> older kernels that could not initialize a system properly if w
On Fri, Jul 08, 2016 at 10:26:15AM +0300, Pantelis Antoniou wrote:
> Hi David,
>
> > On Jul 7, 2016, at 10:15 , David Gibson wrote:
> >
> > On Sat, Jul 02, 2016 at 04:55:49PM -0700, frowand.l...@gmail.com wrote:
> >> From: Frank Rowand
> >>
> >> Hi All,
> >>
> >> This is version 2 of this ema
Hyper-V Sockets (hv_sock) supplies a byte-stream based communication
mechanism between the host and the guest. It's somewhat like TCP over
VMBus, but the transportation layer (VMBus) is much simpler than IP.
With Hyper-V Sockets, applications between the host and the guest can talk
to each other d
Hyper-V Sockets (hv_sock) supplies a byte-stream based communication
mechanism between the host and the guest. It's somewhat like TCP over
VMBus, but the transportation layer (VMBus) is much simpler than IP.
With Hyper-V Sockets, applications between the host and the guest can talk
to each other d
v2)
rewrite functions under the mapping information MEMREMAP_WB.
rewrite the comments for ARM64 in pmem.h
add __clean_dcache_area() to clean data in PoC.
v1)
The PMEM driver on top of NVDIMM(Non-Volatile DIMM) has already been
supported on X86_64 and there exist several ARM64 platforms which suppo
On Thu, Jul 07, 2016 at 05:04:34PM +0100, Mark Rutland wrote:
> In systems with heterogeneous CPU PMUs, it's possible for each evsel to
> cover a distinct set of CPUs, and hence the cpu_map associated with each
> evsel may have a distinct idx<->id mapping. Any of these may be distinct from
> the ev
On Thu, 7 Jul 2016 09:45:08 -0300 Mauricio Faria De Oliveira wrote:
Use the DMA_ATTR_NO_WARN attribute on dma_map_sg() calls of nvme driver.
Signed-off-by: Mauricio Faria de Oliveira
Reviewed-by: Gabriel Krisman Bertazi
---
Changelog:
v2:
- address warnings from checkpatch.pl (line wrapp
Andrew Vagin writes:
> On Wed, Jul 06, 2016 at 10:46:33AM -0500, Eric W. Biederman wrote:
>> "Serge E. Hallyn" writes:
>>
>> > On Wed, Jul 06, 2016 at 10:41:48AM +0200, Michael Kerrisk (man-pages)
>> > wrote:
>> >> [Rats! Doing now what I should have down to start with. Looping some
>> >> list
On Thu, Jul 7, 2016 at 9:18 PM, Wangnan (F) wrote:
>
>
> On 2016/7/8 1:58, Brendan Gregg wrote:
>>
>> On Thu, Jul 7, 2016 at 10:54 AM, Brendan Gregg
>> wrote:
>>>
>>> On Wed, Jul 6, 2016 at 6:49 PM, Wangnan (F) wrote:
[...]
>> ... Also, has anyone looked into perf sampling (-F 99) with bpf yet?
On Fri, Jul 08, 2016 at 01:20:08AM +0300, Alexey Dobriyan wrote:
> Currently WRITE_ONCE is used as if it returns void. Let's codify this
> before somebody tries to be smarter than necessary.
>
> Signed-off-by: Alexey Dobriyan
> ---
>
> include/linux/compiler.h |2 +-
> 1 file changed, 1 ins
On Fri, Jul 08, 2016 at 08:07:52AM +1000, NeilBrown wrote:
> Before I introduced the recursion limiting, requests were handled as an
> in-order tree walk. The code I wrote tried to preserve that but didn't
> for several reasons. I think we need to restore the original in-order
> walk because it m
8b2fc986 unicore32: mm: Add missing parameter
to arch_vma_access_permitted)
Merging xtensa/for_next (9da8320bb977 xtensa: add test_kc705_hifi variant)
Merging btrfs/next (c315ef8d9db7 Merge branch 'for-chris-4.7' of
git://git.kernel.org/pub/scm/linux/kernel/git/fdmanana/linux into for-linu
> From: Dexuan Cui
> Sent: Friday, July 8, 2016 15:47
>
> You can also get the patch here (2764221d):
> https://github.com/dcui/linux/commits/decui/hv_sock/net-next/20160708_v15
>
> In v14:
> fix some coding style issues pointed out by David.
>
> In v15:
> Just some stylistic changes addressing
Allow to specify the clock frequency for any given port via the
assigned-clock-rates device tree property.
Signed-off-by: Jorge Ramirez-Ortiz
Tested-by: Jorge Ramirez-Ortiz
---
drivers/tty/serial/amba-pl011.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/drivers/tty/serial/amba-pl011
Enable support for higher baud rates (up to 3Mbps) in UART1 - required
for bluetooth transfers.
Signed-off-by: Jorge Ramirez-Ortiz
Tested-by: Jorge Ramirez-Ortiz
---
arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm64/boot/dts/hisilico
On Thu, 7 Jul 2016, Craig Gallek wrote:
> This sort of seems like it's just side-stepping the problem. Given
> that the size of this hash table is fixed, the lookup time of this
> operation is still going to approach linear as the number of qdiscs
> increases.
That's true; however the primary
On Fri, Jul 08, 2016 at 07:35:56AM +, KEITA KOBAYASHI wrote:
> Hi,
>
> I tested these patches on Renesas SoC r8a7790(CA15*4 + CA7*4)
> and your preview branch[1] on Renesas SoC r8a7795(CA57*4 + CA53*4).
>
> > Test 0:
> > for i in `seq 1 10`; \
> >do sysbench --test=cpu --max-t
On Thu, Jul 07, 2016 at 07:43:25PM +0200, Robert Jarzmik wrote:
> I'll try, but I don't trust much my chances of success, given that this
> tester :
> - should compile and link in $(TOP)/lib/scatterlist.c, as this is where
>sg_split() is defined
> - this implies all its includes
> - this i
On 07/07/2016 01:17 PM, Wei Jiangang wrote:
> If we specify the 'notsc' boot parameter for the dump-capture kernel,
> and then trigger a crash(panic) by using "ALT-SysRq-c" or "echo c >
> /proc/sysrq-trigger",
> the dump-capture kernel will hang in calibrate_delay_converge():
>
> /* wait for
On 06.07.2016 14:17, Thomas Gleixner wrote:
> On Fri, 1 Jul 2016, Alexander Popov wrote:
>
>> Export __irq_domain_alloc_irqs() and irq_domain_free_irqs() for being
>> able to work with irq_domain hierarchy in modules.
>
> We usually export only when we have a proper use case which is supposed to
* Fenghua Yu wrote:
> From: Fenghua Yu
>
> Add an ABI document entry for /sys/devices/system/cpu/cpu*/cache/index*/id.
>
> Signed-off-by: Fenghua Yu
> ---
> Documentation/ABI/testing/sysfs-devices-system-cpu | 13 +
> 1 file changed, 13 insertions(+)
>
> diff --git a/Documentat
* Kees Cook wrote:
> - I couldn't detect a measurable performance change with these features
> enabled. Kernel build times were unchanged, hackbench was unchanged,
> etc. I think we could flip this to "on by default" at some point.
Could you please try to find some syscall workload that doe
On Thu, Jul 07, 2016 at 12:17:48PM -0500, Franklin S Cooper Jr wrote:
> OMAP35x and OMAP37x mentions in the McSPI End-of-Transfer Sequences section
> that if the McSPI is configured as a Master and only DMA RX is being
> performed then the DMA transfer size needs to be reduced by 1 or 2.
Please do
Hello,
I think I found minor inconsistency in measurement units between ntpd
and linux kernel. Though, I am not sure completely.
I've failed to reach ntp mail list because lists.ntp.org is down for
me for several days.
My principal concern is about `maxerror' quantity.
kernel/time/ntp.c has time_
The patch
spi: omap2-mcspi: Select SPI_SPLIT
has been applied to the spi tree at
git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git
All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
th
On Thu, 2016-07-07 at 22:36 +0200, Jiri Kosina wrote:
> From: Jiri Kosina
>
> Convert the per-device linked list into a hashtable. The primary
> motivation for this change is that currently, we're not tracking all the
> qdiscs in hierarchy (e.g. excluding default qdiscs), as the lookup
> perfo
The patch
spi: omap2-mcspi: Use the SPI framework to handle DMA mapping
has been applied to the spi tree at
git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git
All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours)
On Thu, Jul 07, 2016 at 06:43:33PM +, Aleksandr Frid wrote:
I'm not entirely sure what's wrong with your mail client here but your
mails are essentially illegible. There appears to be some combination
of top posting, reflowing quoted content to remove line breaks and extra
levels of quoting.
Mark,
On Friday 08 July 2016 02:19 PM, Mark Brown wrote:
> From 2b32e987c48c65a1a40b3b4294435f761e063b6b Mon Sep 17 00:00:00 2001
> From: Franklin S Cooper Jr
> Date: Thu, 7 Jul 2016 12:17:49 -0500
> Subject: [PATCH] spi: omap2-mcspi: Select SPI_SPLIT
Looks like you fixed up the description loca
* Jacob Pan wrote:
> From: Peter Zijlstra
>
> Monitored cached line may not wake up from mwait on certain
> Goldmont based CPUs. This patch will avoid calling
> current_set_polling_and_test() and thereby not set the TIF_ flag.
> The result is that we'll always send IPIs for wakeups.
>
> Signe
On Fri, 8 Jul 2016, Eric Dumazet wrote:
> > diff --git a/net/ipv6/ip6_gre.c b/net/ipv6/ip6_gre.c
> > index fdc9de2..0f70ecc 100644
> > --- a/net/ipv6/ip6_gre.c
> > +++ b/net/ipv6/ip6_gre.c
> > @@ -62,11 +62,11 @@ module_param(log_ecn_error, bool, 0644);
> > MODULE_PARM_DESC(log_ecn_error, "Log pa
Hi all
This is a bunch of dw-mipi-dsi driver for RK3399 and RK3288, they have
been tested on rk3399 and rk3288 evb board.
This series is based on Mark Yao's branch:
https://github.com/markyzq/kernel-drm-rockchip/tree/drm-rockchip-next-2016-05-23
Chris Zhong (7):
dt-bindings: add rk3399 supp
Signed-off-by: Chris Zhong
---
.../devicetree/bindings/display/rockchip/dw_mipi_dsi_rockchip.txt| 1 +
1 file changed, 1 insertion(+)
diff --git
a/Documentation/devicetree/bindings/display/rockchip/dw_mipi_dsi_rockchip.txt
b/Documentation/devicetree/bindings/display/rockchip/dw_mipi_d
At the first time of bind, there is no any panel attach in mipi. Add a
DRM_CONNECTOR_POLL_HPD porperty to detect the panel status, when panel
probe, the dw_mipi_dsi_host_attach would be called, then mipi-dsi will
trigger a event to notify the drm framework.
Signed-off-by: Chris Zhong
---
driver
The dw-mipi-dsi of rk3399 is almost the same as rk3288, the rk3399 has
additional phy config clock.
Signed-off-by: Chris Zhong
---
.../devicetree/bindings/display/rockchip/dw_mipi_dsi_rockchip.txt| 5 +
1 file changed, 5 insertions(+)
diff --git
a/Documentation/devicetree/bindings/dis
The vopb/vopl switch register of rk3399 mipi is different from rk3288,
the default setting for mipi dsi mode is different too, so add a
of_device_id structure to distinguish them, and make sure set the
correct mode before mipi phy init.
Signed-off-by: Chris Zhong
Signed-off-by: Mark Yao
---
dr
Set the lanes bps to 1 / 0.9 times of pclk, the margin is not enough
for some panel, it will cause the screen display is not normal, so
increases the badnwidth to 1 / 0.8.
Signed-off-by: Chris Zhong
---
drivers/gpu/drm/rockchip/dw-mipi-dsi.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletio
Reference the power domain incase dw-mipi power down when
in use.
Signed-off-by: Chris Zhong
---
drivers/gpu/drm/rockchip/dw-mipi-dsi.c | 17 +
1 file changed, 17 insertions(+)
diff --git a/drivers/gpu/drm/rockchip/dw-mipi-dsi.c
b/drivers/gpu/drm/rockchip/dw-mipi-dsi.c
index 1
Before phy init, the detection of phy state should be controlled
manually. After that, we can switch the detection to hardward,
it is automatic. Hence move PHY_TXREQUESTCLKHS setting to the end
of phy init.
Signed-off-by: Chris Zhong
---
drivers/gpu/drm/rockchip/dw-mipi-dsi.c | 3 ++-
1 file ch
On Mon, 18 Apr 2016, Richard Cochran wrote:
> Looking at kernel/sched/core.c:get_nohz_timer_target(), I don't
> understand the change made in:
>
> commit 9642d18eee2cd169b60c6ac0f20bda745b5a3d1e
> Author: Vatika Harlalka
> Date: Tue Sep 1 16:50:59 2015 +0200
> nohz: Affine unpin
From: Borislav Petkov
The MSR address we're dumping in there should be in hex, otherwise we
get funsies like:
[0.016000] WARNING: CPU: 1 PID: 0 at arch/x86/kernel/cpu/mcheck/mce.c:428
mce_rdmsrl+0xd9/0xe0
[0.016000] mce: Unable to read msr -1073733631!
From: Borislav Petkov
Hi,
here's some more RAS stuff for 4.8.
Please queue,
thanks.
Aravind Gopalakrishnan (1):
x86/mce/AMD: Increase size of bank_map type
Borislav Petkov (1):
x86/mce: Fix mce_rdmsrl() warning message
Yazen Ghannam (4):
x86/RAS/AMD: Reduce number of IPIs when prepping
From: Yazen Ghannam
Syndrome information is no longer contained in MCA_STATUS for SMCA
systems but in a new register.
Add a synd field to struct mce to hold MCA_SYND register value. Add it
to the end of struct mce to maintain compatibility with old versions of
mcelog. Also, add it to the respect
From: Yazen Ghannam
Print SyndV bit status and print the raw value of the MCA_SYND register.
Further decoding of the syndrome from struct mce.synd can be done in
other places where appropriate, e.g. DRAM ECC.
Boris: make the error stanza more compact by putting the error address
and syndrome on
From: Yazen Ghannam
Add a debugfs file which holds the error syndrome (written into
MCA_SYND) of an injected error. Only write it on SMCA systems. Update
README file, while at it.
Signed-off-by: Yazen Ghannam
Cc: Aravind Gopalakrishnan
Cc: Tony Luck
Cc: linux-edac
Cc: x86-ml
Link:
http://l
From: Aravind Gopalakrishnan
Change bank_map type from char to int since we now have more than eight
banks in a system.
Signed-off-by: Aravind Gopalakrishnan
Cc: Aravind Gopalakrishnan
Cc: Tony Luck
Cc: linux-edac
Link:
http://lkml.kernel.org/r/1466462163-29008-1-git-send-email-yazen.ghan..
From: Yazen Ghannam
We currently use wrmsr_on_cpu() 4 times when prepping for an error
injection. This will generate 4 IPIs for each MSR write. We can reduce
the number of IPIs to 1 by grouping the MSR writes and executing them
serially on the appropriate CPU.
Signed-off-by: Yazen Ghannam
Sugge
On Thu, Jul 07, 2016 at 03:20:54PM -0700, Stephen Boyd wrote:
> @@ -39,6 +42,10 @@ static int ulpi_match(struct device *dev, struct
> device_driver *driver)
> struct ulpi *ulpi = to_ulpi_dev(dev);
> const struct ulpi_device_id *id;
>
> + /* Some ULPI devices don't have a product
On Thu 2016-07-07 20:27:13, Topi Miettinen wrote:
> On 07/07/16 09:16, Petr Mladek wrote:
> > On Sun 2016-07-03 15:08:07, Topi Miettinen wrote:
> >> The attached patch would make any uses of capabilities generate audit
> >> messages. It works for simple tests as you can see from the commit
> >> mes
Hi Mike,
On 07/08/2016 03:43 AM, Michael Turquette wrote:
Quoting Rob Herring (2016-06-19 08:04:58)
On Thu, Jun 16, 2016 at 11:20:22AM +0200, Gabriel Fernandez wrote:
This patch reworks the clock binding to avoid too much detail in DT.
Now we have only compatible string per type of clock
(rema
On 2016年07月08日 14:19, Michael S. Tsirkin wrote:
On Wed, Jul 06, 2016 at 01:45:58PM -0400, Craig Gallek wrote:
>On Thu, Jun 30, 2016 at 2:45 AM, Jason Wang wrote:
> >Hi all:
> >
> >This series tries to switch to use skb array in tun. This is used to
> >eliminate the spinlock contention betwee
Hi,
On Thu, Jul 7, 2016 at 9:11 AM, Lv Zheng wrote:
> There are many AML tables reporting wrong initial lid state, and some of
> them never reports lid state. As a proxy layer acting between, ACPI button
> driver is not able to handle all such cases, but need to re-define the
> usage model of the
From: Borislav Petkov
Hi all,
sorry for spamming so quickly again and not waiting for a week before
resubmitting but I believe the stuff is ready for 4.8.
So here's v4 with all the minor review comments addressed.
Changelog:
--
v3:
here's v3 integrating Ingo's comments. The thing is
From: Borislav Petkov
Extend the ratelimiting facility to print the amount of suppressed lines
when it is being released.
Separated from a previous patch by Linus.
Also, make the ON_RELEASE image not use "callbacks" as it is misleading.
Signed-off-by: Borislav Petkov
Cc: Andrew Morton
Cc: Fr
From: Borislav Petkov
Add a "printk.devkmsg" kernel command line parameter which controls how
userspace writes into /dev/kmsg. It has three options:
* ratelimit - ratelimit logging from userspace.
* on - unlimited logging from userspace
* off - logging from userspace gets ignored
The default s
On Thursday, July 7, 2016 1:37:43 PM CEST Kees Cook wrote:
> >
> >> + /* Allow kernel bss region (if not marked as Reserved). */
> >> + if (ptr >= (const void *)__bss_start &&
> >> + end <= (const void *)__bss_stop)
> >> + return NULL;
> >
> > accesses to .data/.rodata/.
* Borislav Petkov wrote:
> From: Aravind Gopalakrishnan
>
> Change bank_map type from char to int since we now have more than eight
> banks in a system.
>
> Signed-off-by: Aravind Gopalakrishnan
> Cc: Aravind Gopalakrishnan
> Cc: Tony Luck
> Cc: linux-edac
> Link:
> http://lkml.kernel.or
On Thu, Jul 07, 2016 at 03:20:55PM -0700, Stephen Boyd wrote:
> With the id and vbus detection done via extcon we need to make
> sure we poll the status of OTGSC properly by considering what the
> extcon is saying, and not just what the register is saying. Let's
> move this hw_wait_reg() function t
* Borislav Petkov wrote:
> From: Yazen Ghannam
>
> Syndrome information is no longer contained in MCA_STATUS for SMCA
> systems but in a new register.
>
> Add a synd field to struct mce to hold MCA_SYND register value. Add it
> to the end of struct mce to maintain compatibility with old versi
On Thu, Jul 7, 2016 at 9:10 AM, Lv Zheng wrote:
> There are many AML tables reporting wrong initial lid state, and some of
> them never reports lid state. As a proxy layer acting between, ACPI button
> driver is not able to handle all such cases, but need to re-define the
> usage model of the ACPI
We don't have access to datasheets to document all the bits but we can
name these registers at least.
Signed-off-by: Rafał Miłecki
---
drivers/bcma/driver_chipcommon_b.c | 10 ++
include/linux/bcma/bcma_driver_chipcommon.h | 3 +++
2 files changed, 9 insertions(+), 4 deletions(
Hi Guenter,
Guenter Roeck writes:
> Up to now, each hwmon driver has to implement its own sysfs attributes.
> This requires a lot of template code, and distracts from the driver's
> core function to read and write chip registers.
>
> To be able to reduce driver complexity, move sensor attribute
On Fri, Jul 08, 2016 at 11:21:35AM +0200, Ingo Molnar wrote:
> Btw., is there any check somewhere which printed a helpful warning when we
> exceeded the 8 banks limit - and which would prints a helpful warning if we
> ever
> exceed the 32 banks limit?
__mcheck_cpu_cap_init().
And it'll be hard
On Thu, Jul 07, 2016 at 03:20:57PM -0700, Stephen Boyd wrote:
> The ULPI phy on qcom platforms needs to be initialized and
> powered on after a USB reset and before we toggle the run/stop
> bit. Otherwise, the phy locks up and doesn't work properly.
> Therefore, add a flag to skip any phy power man
> From: Olaf Hering [mailto:o...@aepfle.de]
> Sent: Friday, July 8, 2016 0:02
> On Thu, Jun 30, Dexuan Cui wrote:
>
> > +/* The MTU is 16KB per the host side's design. */
> > +struct hvsock_recv_buf {
> > + unsigned int data_len;
> > + unsigned int data_offset;
> > +
> > + struct vmpipe_prot
Zone padding separates write-intensive fields used by page allocation,
compaction and vmstats but the comments are a little misleading and
need clarification.
Signed-off-by: Mel Gorman
---
include/linux/mmzone.h | 7 ---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/include/l
VM statistic counters for reclaim decisions are zone-based. If the kernel
is to reclaim on a per-node basis then we need to track per-node
statistics but there is no infrastructure for that. The most notable
change is that the old node_page_state is renamed to
sum_zone_node_page_state. The new n
This patch makes reclaim decisions on a per-node basis. A reclaimer knows
what zone is required by the allocation request and skips pages from
higher zones. In many cases this will be ok because it's a GFP_HIGHMEM
request of some description. On 64-bit, ZONE_DMA32 requests will cause
some proble
Minor changes this time
Changelog since v8
o Cosmetic cleanups to comments
o Calculate node vmstat threshold based on the largest zone in the node
o Align retry checks with decisions made by the OOM killer
o Avoid tricks with -1 and kswapd_classzone_idx
o More consistent handling of buffer_heads_o
Earlier patches focused on having direct reclaim and kswapd use data that
is node-centric for reclaiming but shrink_node() itself still uses too
much zone information. This patch removes unnecessary zone-based
information with the most important decision being whether to continue
reclaim or not.
kswapd goes through some complex steps trying to figure out if it should
stay awake based on the classzone_idx and the requested order. It is
unnecessarily complex and passes in an invalid classzone_idx to
balance_pgdat(). What matters most of all is whether a larger order has
been requsted and w
kswapd checks all eligible zones to see if they need balancing even if it
was woken for a lower zone. This made sense when we reclaimed on a
per-zone basis because we wanted to shrink zones fairly so avoid
age-inversion problems. Ideally this is completely unnecessary when
reclaiming on a per-nod
On Fri, Jul 08, 2016 at 11:26:59AM +0200, Ingo Molnar wrote:
> So why does neither the changelog nor the code comment actually _explain_
> this and
> give aa bit of a background about what 'syndrome information' is and why we
> want
> to have kernel support for it?
>
> This is why I hate kerne
Node-based reclaim requires node-based LRUs and locking. This is a
preparation patch that just moves the lru_lock to the node so later
patches are easier to review. It is a mechanical change but note this
patch makes contention worse because the LRU lock is hotter and direct
reclaim and kswapd ca
This moves the LRU lists from the zone to the node and related data
such as counters, tracing, congestion tracking and writeback tracking.
Unfortunately, due to reclaim and compaction retry logic, it is necessary
to account for the number of LRU pages on both zone and node logic.
Most reclaim logic
kswapd scans from highest to lowest for a zone that requires balancing.
This was necessary when reclaim was per-zone to fairly age pages on lower
zones. Now that we are reclaiming on a per-node basis, any eligible zone
can be used and pages will still be aged fairly. This patch avoids
reclaiming
Reclaim may stall if there is too much dirty or congested data on a node.
This was previously based on zone flags and the logic for clearing the
flags is in two places. As congestion/dirty tracking is now tracked on a
per-node basis, we can remove some duplicate logic.
Signed-off-by: Mel Gorman
As reclaim is now per-node based, convert zone_reclaim to be node_reclaim.
It is possible that a node will be reclaimed multiple times if it has
multiple zones but this is unavoidable without caching all nodes traversed
so far. The documentation and interface to userspace is the same from a
config
Memcg needs adjustment after moving LRUs to the node. Limits are tracked
per memcg but the soft-limit excess is tracked per zone. As global page
reclaim is based on the node, it is easy to imagine a situation where
a zone soft limit is exceeded even though the memcg limit is fine.
This patch moves
Reclaim makes decisions based on the number of pages that are mapped but
it's mixing node and zone information. Account NR_FILE_MAPPED and
NR_ANON_PAGES pages on the node.
Signed-off-by: Mel Gorman
Acked-by: Vlastimil Babka
Acked-by: Michal Hocko
---
arch/tile/mm/pgtable.c | 2 +-
drivers/ba
kswapd is woken when zones are below the low watermark but the wakeup
decision is not taking the classzone into account. Now that reclaim is
node-based, it is only required to wake kswapd once per node and only if
all zones are unbalanced for the requested classzone.
Note that one node might be c
shrink_node receives all information it needs about classzone_idx
from sc->reclaim_idx so remove the aliases.
Signed-off-by: Mel Gorman
Acked-by: Hillf Danton
---
mm/vmscan.c | 20 +---
1 file changed, 9 insertions(+), 11 deletions(-)
diff --git a/mm/vmscan.c b/mm/vmscan.c
inde
This is convenient when tracking down why the skip count is high because
it'll show what classzone kswapd woke up at and what zones are being
isolated.
Signed-off-by: Mel Gorman
Acked-by: Vlastimil Babka
---
include/trace/events/vmscan.h | 51 ++-
mm/vmsc
As pointed out by Minchan Kim, the first call to prepare_kswapd_sleep
always passes in 0 for remaining and the second call can trivially
check the parameter in advance.
Suggested-by: Minchan Kim
Signed-off-by: Mel Gorman
---
mm/vmscan.c | 12
1 file changed, 4 insertions(+), 8 dele
Historically dirty pages were spread among zones but now that LRUs are
per-node it is more appropriate to consider dirty pages in a node.
Signed-off-by: Mel Gorman
Signed-off-by: Johannes Weiner
Acked-by: Vlastimil Babka
Acked-by: Michal Hocko
---
include/linux/mmzone.h| 12 +++
inclu
Working set and refault detection is still zone-based, fix it.
Signed-off-by: Mel Gorman
Acked-by: Johannes Weiner
Acked-by: Vlastimil Babka
---
include/linux/mmzone.h | 6 +++---
include/linux/vmstat.h | 1 -
mm/vmstat.c| 20 +++-
mm/workingset.c| 43
As reclaim is now node-based, it follows that page write activity due to
page reclaim should also be accounted for on the node. For consistency,
also account page writes and page dirtying on a per-node basis.
After this patch, there are a few remaining zone counters that may appear
strange but ar
NR_FILE_PAGES is the number offile pages.
NR_FILE_MAPPED is the number of mapped file pages.
NR_ANON_PAGES is the number of mapped anon pages.
This is unhelpful naming as it's easy to confuse NR_FILE_MAPPED and
NR_ANON_PAGES for mapped pages. This patch renames NR_ANON_PAGES so we
have
If a page is about to be dirtied then the page allocator attempts to limit
the total number of dirty pages that exists in any given zone. The call
to node_dirty_ok is expensive so this patch records if the last pgdat
examined hit the dirty limits. In some cases, this reduces the number of
calls t
1 - 100 of 789 matches
Mail list logo