Quantcast
Browsing all 24115 articles
Browse latest View live

[PATCH 4/8] sched: change pick_next_task_fair to h_nr_running (no replies)

Since pick_next_task_fair only want to ensure there is some task in the run queue to be picked up, it should use the h_nr_running instead of nr_running, since nr_running cannot present all tasks if...

View Article


[PATCH 7/8] sched: change active_load_balance_cpu_stop to use h_nr_running...

We should only avoid do the active load balance when there is no cfs type task. If just use rq->nr_running, it is possible for the source cpu has multiple rt task, while zero cfs task, so that it...

View Article


[PATCH 6/8] sched: change find_busiest_queue to h_nr_running (no replies)

Since find_busiest_queue try to avoid do load balance for runqueue which has only one cfs task and its load is above the imbalance value calculated, we should use h_nr_running of cfs instead of...

View Article

[PATCH 0/8] sched: fixes for the nr_running usage (1 reply)

Since it is different for the nr_running and h_nr_running in its presenting meaning, we should take care of their usage in the scheduler. Lei Wen (8): sched: change load balance number to h_nr_running...

View Article

[PATCH 0/4] mm: merge zram into zswap (4 replies)

Both zswap and zram are used to compress anon pages in memory so as to reduce swap io operation. The main different is that zswap uses zbud as its allocator while zram uses zsmalloc. The other...

View Article


[PATCH] pch_gbe: ethtool cannot change parameters when link is down (no replies)

When attempting to change e.g. the advertising mask when the link is down ecmd->speed is -1 causing mii_ethtool_sset() to bail out. This bug bit when connecting to a gigabit switch through a 4-pin...

View Article

[PATCH] genirq: Correct fuzzy and fragile IRQ_RETVAL() definition (no replies)

commit bedd30d986a05e32dc3eab874e4b9ed8a38058bb ("genirq: make irqreturn_t an enum") blindly replaced "0" by "IRQ_NONE" in the "IRQ_RETVAL(x)" macro definition. However, as "x" is a condition, "0"...

View Article

[PATCH -resend] drm: DRM should depend on HAS_DMA (no replies)

If NO_DMA=y: drivers/built-in.o: In function `__drm_pci_free': drivers/gpu/drm/drm_pci.c:112: undefined reference to `dma_free_coherent' drivers/built-in.o: In function `drm_pci_alloc':...

View Article


[PATCH v2] of_net.h: Make of_get_phy_mode() return int i.s.o. const int (no...

include/linux/of_net.h:16: warning: type qualifiers ignored on function return type Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> --- v2: update the actual function in...

View Article


[PATCH RESEND] mtd: MTD_NAND_DENALI should depend on HAS_DMA (no replies)

If NO_DMA=y: drivers/built-in.o: In function `denali_remove': drivers/mtd/nand/denali.c:1605: undefined reference to `dma_unmap_single' drivers/built-in.o: In function `denali_read_page_raw':...

View Article

[GIT PULL] cgroup fixes for v3.11-rc5 (no replies)

Hello, Linus. This pull request contains one patch to fix the return value of cpuset's cgroups interface function, which used to always return -ENODEV for the writes on the "memory_pressure_enabled"...

View Article

[PATCH] [media] media/v4l2: VIDEO_SH_VEU should depend on HAS_DMA (no replies)

If NO_DMA=y: drivers/media/v4l2-core/videobuf2-dma-contig.c: In function ‘vb2_dc_mmap’: drivers/media/v4l2-core/videobuf2-dma-contig.c:204: error: implicit declaration of function ‘dma_mmap_coherent’...

View Article

I915 DRI_PRIME Bug Resend (no replies)

Hello there, while testing my "Optimus" Notebook i saw a stack trace in my logs, maybe someone is interested! I can easily reproduce this any time. It happens when offloading a GL app, here Unigine...

View Article


[PATCH 1/2] pinctrl: core: Hold pinctrldev_list_mutex mutex while traversing...

This one is missed in commit 44d5f7bb "pinctrl: sink pinctrldev_list_mutex". Signed-off-by: Axel Lin <axel.lin@ingics.com> --- drivers/pinctrl/core.c | 5 +++++ 1 file changed, 5 insertions(+)...

View Article

[PATCH] Documentation: pinctrl: Fix example code for pinctrl_register (no...

pinctrl_register() returns NULL on error, fix it. Signed-off-by: Axel Lin <axel.lin@ingics.com> --- Documentation/pinctrl.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git...

View Article


[PATCH] kernel/futex.c: notice the return value after...

rt_mutex_finish_proxy_lock() can return failure code (e.g. -EINTR, -ETIMEDOUT). Original implementation has already noticed about it, but not check it before next work. Also let coments within 80...

View Article

[PATCH] kernel/module.c: use scnprintf() instead of sprintf() (no replies)

For some strings, they are permitted to be larger than PAGE_SIZE, so need use scnprintf() instead of sprintf(), or it will cause issue. One case is: if a module version is crazy defined (length more...

View Article


[PATCH] kernel/params.c: use scnprintf() instead of sprintf() (no replies)

For some strings (e.g. version string), they are permitted to be larger than PAGE_SIZE (although meaningless), so recommend to use scnprintf() instead of sprintf(). Signed-off-by: Chen Gang...

View Article

[PATCH] kvm tools: powerpc: Fix init order for xics (no replies)

xics_init() assumes kvm->nrcpus is already setup. kvm->nrcpus is setup in kvm_cpu_init() Unfortunately xics_init() and kvm_cpu_init() both use base_init(). So depending on the order randomly...

View Article

[PATCH 0/2] kernel/sysctl.c: about the return value after fail call (4 replies)

Patch 1 for bug fix: check return value after call proc_put_char() in __do_proc_doulongvec_minmax() Patch 2 for simplify code : Simplify code for C code readers. Signed-off-by: Chen Gang...

View Article
Browsing all 24115 articles
Browse latest View live