Linus,
Please pull the latest perf-urgent-for-linus git tree from:
git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git
perf-urgent-for-linus
# HEAD: 2737fce8bc8dea2852289df29b4f92e6a7fb7c91 Merge tag
'perf-urgent-for-mingo' of
git://git.kernel.org/pub/scm/linux/kernel/git/acme/lin
Am Samstag, den 08.02.2014, 21:22 -0800 schrieb Andi Kleen:
> > +notrace static long vdso_fallback_gettime(long clock, struct timespec *ts)
> > +{
> > + long ret;
> > +
> > + asm(
> > + "push %%ebx \n"
> > + "mov %2,%%ebx \n"
> > + "call VDSO32_vsyscall \n"
> > +
Am Samstag, den 08.02.2014, 23:21 -0800 schrieb Andi Kleen:
> On Sat, Feb 08, 2014 at 09:22:30PM -0800, Andi Kleen wrote:
> > > +notrace static long vdso_fallback_gettime(long clock, struct timespec
> > > *ts)
> > > +{
> > > + long ret;
> > > +
> > > + asm(
> > > + "push %%ebx \n"
> > > +
"if_ether.h" is included in three files but not being used, so
remove "include/if_ether.h" header file and inclusion of this header file.
Signed-off-by: navin patidar
---
drivers/staging/rtl8188eu/core/rtw_recv.c |1 -
drivers/staging/rtl8188eu/hal/rtl8188eu_recv.c |1 -
drivers/sta
"ip.h" is included in four files but not being used, so
remove "include/ip.h" header file and inclusion of this header file.
Signed-off-by: navin patidar
---
drivers/staging/rtl8188eu/core/rtw_recv.c |1 -
drivers/staging/rtl8188eu/core/rtw_xmit.c |1 -
drivers/staging/rtl8188e
"ethernet.h" is included in three files but only "rtw_recv.c" using two macros
defined in "ethernet.h", so move used macros in "rtw_recv.c" and
remove "include/ethernet.h" header file and inclusion of this header file.
Signed-off-by: navin patidar
---
drivers/staging/rtl8188eu/core/rtw_recv.c
Some drivers dealing with a gpio_chip might need to act on its
descriptors directly; one example is pinctrl drivers that need to lock a
GPIO for being used as IRQ using gpiod_lock_as_irq().
This patch exports a gpiochip_get_desc() function that returns the
GPIO descriptor at the requested index. I
gpio_to_desc() must die. Replace one of its usage by the
newly-introduced gpiochip_get_desc() function.
Signed-off-by: Alexandre Courbot
---
Mika, can we have your review on this?
drivers/gpio/gpiolib-acpi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpio/gpioli
Interface #5 of 19d2:1270 is a net interface which has been submitted to the
qmi_wwan driver so consequently remove it from the option driver.
Signed-off-by: Raymond Wanyoike
---
drivers/usb/serial/option.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/usb/serial/
On 2014年02月08日 23:03, Rafael J. Wysocki wrote:
On Saturday, February 08, 2014 08:46:25 PM Hanjun Guo wrote:
Replace "ACPI0007" with ACPI_PROCESSOR_DEVICE_HID to improve code
readability.
Signed-off-by: Hanjun Guo
---
drivers/acpi/processor_core.c |3 ++-
1 file changed, 2 insertions(+),
Replace "ACPI0007" with ACPI_PROCESSOR_DEVICE_HID to improve code
readability.
Signed-off-by: Hanjun Guo
---
drivers/acpi/processor_core.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/acpi/processor_core.c b/drivers/acpi/processor_core.c
index a4eea9a..f31d0fb 1
On Fri, Jan 24, 2014 at 02:17:12PM -0600, Tom Lendacky wrote:
> On 01/24/2014 12:39 PM, Dave Jones wrote:
> > There are some suspicious looking lines of code in the new ccp driver,
> > including
> > one that assigns a variable to itself, and another that overwrites a
> > previous assignment.
> >
On Fri, Jan 24, 2014 at 04:17:50PM -0600, Tom Lendacky wrote:
> Patch 1: Allow for selectively disabling the registration of an algorithm
> family (sha or aes algorithms) via module parameters.
>
> Patch 2-4: Fix errors/issues that were found during IPSec testing. In
> order to prevent deadlocks w
On Fri, Jan 31, 2014 at 04:18:51PM +1030, Rusty Russell wrote:
> Dan Carpenter writes:
> > My static checker complains that:
> >
> > drivers/char/hw_random/core.c:341 hwrng_register()
> > warn: we tested 'old_rng' before and it was 'false'
> >
> > The problem is that sometimes we test "if
Hello Yann,
On Sun, Feb 09, 2014 at 08:47:22AM +0100, Yann Droneaud wrote:
> Hi,
>
> Le samedi 08 février 2014 à 16:09 +0100, Uwe Kleine-König a écrit :
> > On Fri, Feb 07, 2014 at 03:20:05PM -0800, Greg Kroah-Hartman wrote:
> > > On Mon, Jan 27, 2014 at 11:05:52AM +0100, Yann Droneaud wrote:
> >
Declare 'struct device' explicitly in ttm_page_alloc.h as this file
does not include any file declaring it. This removes the following
warning:
warning: 'struct device' declared inside parameter list
Signed-off-by: Alexandre Courbot
---
This warning was visible when compiling Nouveau on
There is a race condition in the intel pstate driver initialization:
the cpufreq_register_driver() function creates a timer that makes use of the
energy_divisor variable (intel_pstate_timer_func), the problem is that
energy_divisor is initialized
*after* the call to cpufreq_register_driver().
Thi
> EBX is a reserved as the base register when compiling with -fPIC.
> Otherwise it get a "error: can't find a register in class 'BREG' while
> reloading 'asm'".
In this case you have to dwarf annotate the push/pop
>
> > Also I if this calls syscall.S:__kernel_vsyscall it clobbers more registers
Hi David,
I have sent out a revised patch on
https://lkml.org/lkml/2014/2/9/2. Can you let me
know if this works for you?
Thanks
Regards
Preeti U Murthy
On 02/09/2014 01:01 PM, David Rientjes wrote:
> On Fri, 7 Feb 2014, Preeti U Murthy wrote:
>
>> The broadcast timer registration has to be do
On 02/06/2014 09:00 PM, Greg KH wrote:
> Tomas Winkler (1): mei: use hbm idle state to prevent spurious
> resets
Hi,
I'm getting this now:
drivers/misc/mei/hbm.c: In function 'mei_hbm_dispatch':
drivers/misc/mei/hbm.c:596:3: warning: 'return' with a value, in
function returning void
Care to fix
Am Sonntag, den 09.02.2014, 02:05 -0800 schrieb Andi Kleen:
> > EBX is a reserved as the base register when compiling with -fPIC.
> > Otherwise it get a "error: can't find a register in class 'BREG' while
> > reloading 'asm'".
>
> In this case you have to dwarf annotate the push/pop
>
Okay, but
On Sun, 2014-02-09 at 11:32 +0100, Jiri Slaby wrote:
> I'm getting this now:
> drivers/misc/mei/hbm.c: In function 'mei_hbm_dispatch':
> drivers/misc/mei/hbm.c:596:3: warning: 'return' with a value, in
> function returning void
Greg already queued my trivial patch to fix this for the v3.13.y branc
Currently kobject_uevent has somewhat unpredictable semantics. The point
is, since it may call a usermode helper and wait for it to execute
(UMH_WAIT_EXEC), it is impossible to say for sure what lock dependencies
it will introduce for the caller - strictly speaking it depends on what
fs the binary
We release the slab_mutex while calling sysfs_slab_add from
__kmem_cache_create since commit 66c4c35c6bc5, because kobject_uevent
called by sysfs_slab_add might block waiting for the usermode helper to
exec, which would result in a deadlock if we took the slab_mutex while
executing it.
However, ap
Mark function as static in xen/platform-pci.c because it is not used
outside this file.
This eliminates the following warning in xen/platform-pci.c:
drivers/xen/platform-pci.c:48:15: warning: no previous prototype for
‘alloc_xen_mmio’ [-Wmissing-prototypes]
Signed-off-by: Rashika Kheria
Reviewe
Include appropriate header file in xen/pcpu.c because include/xen/acpi.h
contains prototype declaration of functions defined in the file.
This eliminates the following warning in xen/pcpu.c:
drivers/xen/pcpu.c:336:6: warning: no previous prototype for
‘xen_pcpu_hotplug_sync’ [-Wmissing-prototypes
Move prototype declaration to header file include/xen/xen-ops.h from
arch/x86/xen/xen-ops.h because they are used by more than one file.
This eliminates the following warning in drivers/xen/events/:
drivers/xen/events_2l.c:1231:13: warning: no previous prototype for
‘xen_debug_interrupt’ [-Wmissi
Move prototype declaration to header file include/xen/xen-ops.h from
arch/x86/xen/xen-ops.h because it is used by more than one file. Also,
remove else condition from xen/events/events_base.c to eliminate
conflicting definitions when CONFIG_XEN_PVHVM is not defined.
This eliminates the following w
Am Sonntag, den 09.02.2014, 02:05 -0800 schrieb Andi Kleen:
> > EBX is a reserved as the base register when compiling with -fPIC.
> > Otherwise it get a "error: can't find a register in class 'BREG' while
> > reloading 'asm'".
>
> In this case you have to dwarf annotate the push/pop
>
> >
> > >
On Sun, Feb 09, 2014 at 04:42:33PM +0530, Rashika Kheria wrote:
> Move prototype declaration to header file include/xen/xen-ops.h from
> arch/x86/xen/xen-ops.h because it is used by more than one file. Also,
> remove else condition from xen/events/events_base.c to eliminate
> conflicting definition
On Sun, 2014-02-09 at 08:42 +0100, Eric Dumazet wrote:
> The new infrastructure is used in iscsit_fe_sendpage_sg to avoid sending three
> TCP packets instead of one by settings the MSG_MORE when calling
> kernel_sendmsg
> via the wrapper functions tx_data and iscsit_do_tx_data. This reduces the TC
* Jon wrote:
> In arch/x86/kernel/apic/apic.c there is a function called
> verify_local_APIC() that does some APIC checks. The part where it writes
> to the APIC ID register can cause CPU #15 to not come online under
> VMware ESXi on 32-bit kernels if the virtual hardware version is 8.
>
> I no
* Steven Rostedt wrote:
> On Thu, 6 Feb 2014 17:45:58 +0100
> Peter Zijlstra wrote:
>
> > On Thu, Feb 06, 2014 at 05:28:41PM +0100, Johannes Berg wrote:
> > > From: Johannes Berg
> > >
> > > This warning seems to show up a lot now, since ___wait_event()
> > > is (indirectly) used inside wait
Remove unused function in afs/write.c.
This eliminates the following warning in afs/write.c:
fs/afs/write.c:749:5: warning: no previous prototype for ‘afs_page_mkwrite’
[-Wmissing-prototypes]
Signed-off-by: Rashika Kheria
Reviewed-by: Josh Triplett
---
fs/afs/write.c | 21 --
Include appropriate header file fs/dlm/ast.h in fs/dlm/ast.c because it
contains function prototypes of some functions defined in fs/dlm/ast.c.
This also eliminates the following warning in fs/dlm/ast:
fs/dlm/ast.c:52:5: warning: no previous prototype for ‘dlm_add_lkb_callback’
[-Wmissing-prototy
Mark functions as static in bio-integrity.c because it is not used
outside this file.
This eliminates the following warnings in bio-integrity.c:
fs/bio-integrity.c:224:5: warning: no previous prototype for
‘bio_integrity_tag’ [-Wmissing-prototypes]
Signed-off-by: Rashika Kheria
---
fs/bio-inte
* Sasha Levin wrote:
> The following changes since commit 65370bdf881e20907e7a53abab9b8c0bc5f60a6b:
>
> Merge branch 'linus' into core/locking (2014-02-02 09:43:20 +0100)
>
> are available in the git repository at:
>
>
> https://github.com/sashalevin/liblockdep.git liblockdep-fixes
>
>
Signed-off-by: Paul Bolle
---
Entirely untested. But it's clear that this is what was intended.
drivers/gpu/drm/tegra/drm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/tegra/drm.c b/drivers/gpu/drm/tegra/drm.c
index 88a5290..c715947 100644
--- a/drivers/gp
Add prototype declaration to header file include/linux/bio.h because it
is used by more than one file.
This eliminates the following warning in bio-integrity.c:
fs/bio-integrity.c:214:14: warning: no previous prototype for
‘bio_integrity_tag_size’ [-Wmissing-prototypes]
Signed-off-by: Rashika Kh
Mark function as static in exofs/super.c because it is not used outside
this file.
This also eliminates the following warning in exofs/super.c:
fs/exofs/super.c:546:5: warning: no previous prototype for ‘__alloc_dev_table’
[-Wmissing-prototypes]
Signed-off-by: Rashika Kheria
Reviewed-by: Josh T
Mark functions as static in exofs/ore_raid.c because they are not used
outside this file.
This also eliminates the following warning in exofs/ore_raid.c:
fs/exofs/ore_raid.c:24:14: warning: no previous prototype for
‘_raid_page_alloc’ [-Wmissing-prototypes]
fs/exofs/ore_raid.c:29:6: warning: no p
Mark function as static in ext2/xattr_security.c because it is not
used outside this file.
This also elimiantes the following warning in ext2/xattr_security.c:
fs/ext2/xattr_security.c:45:5: warning: no previous prototype for
‘ext2_initxattrs’ [-Wmissing-prototypes]
Signed-off-by: Rashika Kheria
On Sun, Feb 09, 2014 at 06:22:53PM +0530, Rashika Kheria wrote:
> Mark functions as static in bio-integrity.c because it is not used
> outside this file.
>
> This eliminates the following warnings in bio-integrity.c:
> fs/bio-integrity.c:224:5: warning: no previous prototype for
> ‘bio_integrity_
On Sun, Feb 09, 2014 at 06:19:17PM +0530, Rashika Kheria wrote:
> Include appropriate header file fs/dlm/ast.h in fs/dlm/ast.c because it
> contains function prototypes of some functions defined in fs/dlm/ast.c.
>
> This also eliminates the following warning in fs/dlm/ast:
> fs/dlm/ast.c:52:5: war
On Sun, Feb 09, 2014 at 06:30:39PM +0530, Rashika Kheria wrote:
> Add prototype declaration to header file include/linux/bio.h because it
> is used by more than one file.
>
> This eliminates the following warning in bio-integrity.c:
> fs/bio-integrity.c:214:14: warning: no previous prototype for
Mark function as static in ext3/dir.c because it is not used outside
this file.
This also eliminates the following warning in ext3/dir.c:
fs/ext3/dir.c:278:8: warning: no previous prototype for ‘ext3_dir_llseek’
[-Wmissing-prototypes]
Signed-off-by: Rashika Kheria
Reviewed-by: Josh Triplett
--
Signed-off-by: Paul Bolle
---
Untested.
net/core/net-sysfs.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/core/net-sysfs.c b/net/core/net-sysfs.c
index 9388624..549043c 100644
--- a/net/core/net-sysfs.c
+++ b/net/core/net-sysfs.c
@@ -789,7 +789,7 @@ exit:
kobje
Mark function as static in ext3/xattr_security.c because it is not used
outside this file.
This eliminates the following warning in ext3/xattr_security.c:
fs/ext3/xattr_security.c:46:5: warning: no previous prototype for
‘ext3_initxattrs’ [-Wmissing-prototypes]
Signed-off-by: Rashika Kheria
Rev
Mark functions as static in gfs2/rgrp.c because they are not used
outside this file.
This eliminates the following warning in gfs2/rgrp.c:
fs/gfs2/rgrp.c:1092:5: warning: no previous prototype for ‘gfs2_rgrp_bh_get’
[-Wmissing-prototypes]
fs/gfs2/rgrp.c:1157:5: warning: no previous prototype for
Mark functions as static in jbd2/journal.c because they are not used
outside this file.
This eliminates the following warning in jbd2/journal.c:
fs/jbd2/journal.c:125:5: warning: no previous prototype for
‘jbd2_verify_csum_type’ [-Wmissing-prototypes]
fs/jbd2/journal.c:146:5: warning: no previous
Include appropriate header file fs/notify/fdinfo.h because it has
function prototypes of some function defined in fs/notify/fdinfo.c.
This eliminates the following warning in fs/notify/fdinfo.c:
fs/notify/fdinfo.c:103:5: warning: no previous prototype for
‘inotify_show_fdinfo’ [-Wmissing-prototyp
Mark functions as static in ocfs/ioctl.c because they are not used
outside this file.
This eliminates the following warning in ocfs/ioctl.c:
fs/ocfs2/ioctl.c:145:5: warning: no previous prototype for
‘ocfs2_info_handle_blocksize’ [-Wmissing-prototypes]
fs/ocfs2/ioctl.c:169:5: warning: no previous
Mark functions as static in ocfs2/journal.c because they are not used
outside this file.
This eliminates the following warning in ocfs2/journal.c:
fs/ocfs2/journal.c:106:6: warning: no previous prototype for
‘ocfs2_replay_map_set_state’ [-Wmissing-prototypes]
fs/ocfs2/journal.c:151:6: warning: no
Mark functions as static in ocfs2/xattr.c because it is not used outside
this file.
This eliminates the following warning in ocfs2/xattr.c:
fs/ocfs2/xattr.c:7256:5: warning: no previous prototype for ‘ocfs2_initxattrs’
[-Wmissing-prototypes]
Signed-off-by: Rashika Kheria
Reviewed-by: Josh Tripl
Mark function as static in ocfs2/cluster/heartbeat.c because it is
not used outside this file.
This eliminates the following warning in ocfs2/cluster/heartbeat.c:
fs/ocfs2/cluster/heartbeat.c:2470:6: warning: no previous prototype for
‘o2hb_region_dec_user’ [-Wmissing-prototypes]
Signed-off-by:
Mark function as static in proc/array.c because it is not used outside
this file.
This eliminates the following warning in proc/array.c:
fs/proc/array.c:712:5: warning: no previous prototype for
‘children_seq_release’ [-Wmissing-prototypes]
Signed-off-by: Rashika Kheria
Reviewed-by: Josh Triple
Include appropriate header file in proc/proc_tty.c because header file
proc/internal.h contains function prototypes of functions defined in the
file.
This eliminates the following warning in proc/proc_tty.c:
fs/proc/proc_tty.c:175:13: warning: no previous prototype for ‘proc_tty_init’
[-Wmissing-
On Sun, 2014-02-09 at 01:02 +0100, Daniel Vetter wrote:
> On Sat, Feb 8, 2014 at 9:22 PM, Paul Bolle wrote:
> > Daniel Vetter schreef op za 08-02-2014 om 20:59 [+0100]:
> >> Hm, if this is really a regression between 3.13 and 3.14-rc1 then I
> >> don't see any quick candidates - relevant functions
The Kconfig symbol SVINTO_SIM got dropped in commit e269a869417c ("Drop
code for CRISv10 CPU simulator"). Now drop the remaining code for that
simulator.
Signed-off-by: Paul Bolle
---
Not even compile tested.
drivers/tty/serial/crisv10.c | 112 ---
1 file
On Sun, 2014-02-09 at 13:15 +, Steven Newbury wrote:
> PCI resource allocation is undergoing some changes at the moment, it's
> definitely a bug if the Flush Page isn't getting allocated. I'm looking
> forward to hopefully getting pci_bus_alloc_resource_fit() behaviour in
> mainline, it will p
Add prototype declaration to header file include/linux/syscalls.h
because it is used by more than one file.
This eliminates the following warning in quota/compat.c:
fs/quota/compat.c:43:17: warning: no previous prototype for ‘sys32_quotactl’
[-Wmissing-prototypes]
Signed-off-by: Rashika Kheria
Move prototype declaration to header file reiserfs/reiserfs.h from
reiserfs/super.c because they are used by more than one file.
This eliminates the following warning in reiserfs/bitmap.c:
fs/reiserfs/bitmap.c:647:6: warning: no previous prototype for
‘show_alloc_options’ [-Wmissing-prototypes]
Commit 597ce1723e0f ("MIPS: Support for 64-bit FP with O32 binaries")
introduced references to two undefined Kconfig macros. CONFIG_MIPS32_R2
should clearly be replaced with CONFIG_CPU_MIPS32_R2. And CONFIG_MIPS64
should apparently be replaced with CONFIG_64BIT.
Signed-off-by: Paul Bolle
---
Unte
On Sun, 2014-02-09 at 14:25 +0100, Paul Bolle wrote:
> On Sun, 2014-02-09 at 13:15 +, Steven Newbury wrote:
> > PCI resource allocation is undergoing some changes at the moment, it's
> > definitely a bug if the Flush Page isn't getting allocated. I'm looking
> > forward to hopefully getting pc
Move prototype declaration to header file include/linux/crash_dump.h
because it is used by more than file.
This eliminates the following warning in proc/vmcore.c:
fs/proc/vmcore.c:1088:6: warning: no previous prototype for ‘vmcore_cleanup’
[-Wmissing-prototypes]
Signed-off-by: Rashika Kheria
Re
On Fri, Feb 7, 2014 at 8:45 AM, wrote:
> From: Ville Syrjälä
>
> Use the new drm_mode_create_rotation_property() in omapdrm.
>
> Signed-off-by: Ville Syrjälä
Reviewed-by: Rob Clark
> ---
> drivers/gpu/drm/omapdrm/omap_plane.c | 17 +++--
> 1 file changed, 7 insertions(+), 10 del
Signed-off-by: Paul Bolle
---
kernel/rcu/tree_plugin.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/rcu/tree_plugin.h b/kernel/rcu/tree_plugin.h
index 6e2ef4b..366e21e 100644
--- a/kernel/rcu/tree_plugin.h
+++ b/kernel/rcu/tree_plugin.h
@@ -2893,7 +2893,7 @@ static v
On Fri, Feb 7, 2014 at 8:45 AM, wrote:
> From: Ville Syrjälä
>
> Make drm_property_create_bitmask() a bit more generic by allowing the
> caller to specify which bits are in fact supported. This allows multiple
> callers to use the same enum list, but still create different versions
> of the same
From: Borislav Petkov
... and save some lines of code.
Signed-off-by: Borislav Petkov
---
arch/x86/include/uapi/asm/msr-index.h | 6 --
arch/x86/kernel/cpu/intel.c | 29 -
2 files changed, 12 insertions(+), 23 deletions(-)
diff --git a/arch/x86/inclu
From: Borislav Petkov
We very often need to set or clear a bit in an MSR as a result of doing
some sort of a hardware configuration. Add generic versions of that
repeated functionality in order to save us a bunch of duplicated code in
the early CPU vendor detection/config code.
Signed-off-by: Bo
From: Borislav Petkov
... and save us a bunch of code.
Signed-off-by: Borislav Petkov
---
arch/x86/kernel/cpu/amd.c | 46 +++---
1 file changed, 11 insertions(+), 35 deletions(-)
diff --git a/arch/x86/kernel/cpu/amd.c b/arch/x86/kernel/cpu/amd.c
index d
From: Borislav Petkov
Hi guys,
this is just a preview of what I think we talked about. I'm sending it
out now to gather some feedback before I go and test it more thoroughly
(it boots in a guest though :)).
Thanks.
Borislav Petkov (3):
x86: Add another set of MSR accessor functions
x86, AM
Disallow more mount options if sane_behavior. Note that xattr used to
generate warning.
While at it, simplify option check in cgroup_mount() and update
sane_behavior comment in cgroup.h.
Signed-off-by: Tejun Heo
---
include/linux/cgroup.h | 6 +++---
kernel/cgroup.c| 14 --
With module support gone, a lot of functions no longer need to be
exported. Unexport them.
Signed-off-by: Tejun Heo
---
kernel/cgroup.c | 8
1 file changed, 8 deletions(-)
diff --git a/kernel/cgroup.c b/kernel/cgroup.c
index 057ab96..abb1873 100644
--- a/kernel/cgroup.c
+++ b/kernel/c
cgroup_attach_task() is planned to go through restructuring. Let's
tidy it up a bit in preparation.
* Update cgroup_attach_task() to receive the target task argument in
@leader instead of @tsk.
* Rename @tsk to @task.
* Rename @retval to @ret.
This is purely cosmetic.
Signed-off-by: Tejun H
cgroup_taskset_cur_css() will be removed during the planned
resturcturing of migration path. The only use of
cgroup_taskset_cur_css() is finding out the old cgroup_subsys_state of
the leader in cpuset_attach(). This usage can easily be removed by
remembering the old value from cpuset_can_attach()
Instead of repeatedly locking and unlocking css_set_rwsem inside
cgroup_task_migrate(), update cgroup_attach_task() to grab it outside
of the loop and update cgroup_task_migrate() to use
put_css_set_locked().
Signed-off-by: Tejun Heo
---
kernel/cgroup.c | 16 +++-
1 file changed, 11
The two functions don't have any users left. Remove them along with
cgroup_taskset->cur_cgrp.
Signed-off-by: Tejun Heo
---
include/linux/cgroup.h | 3 ---
kernel/cgroup.c| 30 --
2 files changed, 33 deletions(-)
diff --git a/include/linux/cgroup.h b/include
If !NULL, @skip_css makes cgroup_taskset_for_each() skip the matching
css. The intention of the interface is to make it easy to skip css's
(cgroup_subsys_states) which already match the migration target;
however, this is entirely unnecessary as migration taskset doesn't
include tasks which are alr
put_css_set() is performed in two steps - it first tries to put
without grabbing css_set_rwsem if such put wouldn't make the count
zero. If that fails, it puts after write-locking css_set_rwsem. This
patch separates out the second phase into put_css_set_locked() which
should be called with css_se
css_scan_tasks() doesn't have any user left. Remove it.
Signed-off-by: Tejun Heo
---
include/linux/cgroup.h | 6 --
kernel/cgroup.c| 162 -
2 files changed, 168 deletions(-)
diff --git a/include/linux/cgroup.h b/include/linux/cgroup.h
i
Now that css_task_iter_start/next_end() supports blocking while
iterating, there's no reason to use css_scan_tasks() which is more
cumbersome to use and scheduled to be removed.
Convert all css_scan_tasks() usages in cpuset to
css_task_iter_start/next/end(). This simplifies the code by removing
h
cgroup_task_count() read-locks css_set_lock and walks all tasks to
count them and then returns the result. The only thing all the users
want is determining whether the cgroup is empty or not. This patch
implements cgroup_has_tasks() which tests whether cgroup->cset_links
is empty, replaces all cg
Reimplement cgroup_transfer_tasks() so that it repeatedly fetches the
first task in the cgroup and then tranfers it. This achieves the same
result without using css_scan_tasks() which is scheduled to be
removed.
Signed-off-by: Tejun Heo
---
kernel/cgroup.c | 31 ---
Currently there are two ways to walk tasks of a cgroup -
css_task_iter_start/next/end() and css_scan_tasks(). The latter
builds on the former but allows blocking while iterating.
Unfortunately, the way css_scan_tasks() is implemented is rather
nasty, it uses a priority heap of pointers to extract
Tasks are not linked on their css_sets until cgroup task iteration is
actually used. This is to avoid incurring overhead on the fork and
exit paths for systems which have cgroup compiled in but don't use it.
This lazy binding also affects the task migration path. It has to be
careful so that it
Before kernfs conversion, due to the way super_block lookup works,
cgroup roots were created and made visible before being fully
initialized. This in turn required a special flag to mark that the
root hasn't been fully initialized so that the destruction path can
tell fully bound ones from half in
Move it above so that prototype isn't necessary. Let's also move the
definition of use_task_css_set_links next to it.
This is purely cosmetic.
Signed-off-by: Tejun Heo
---
kernel/cgroup.c | 103 ++--
1 file changed, 48 insertions(+), 55 delet
Hello,
This series contains assorted cleanups which also prepare for the
planned migration taskset handling update.
This patchset contains the following sixteen patches.
0001-cgroup-disallow-xattr-release_agent-and-name-if-sane.patch
0002-cgroup-drop-CGRP_ROOT_SUBSYS_BOUND.patch
0003-cgroup-e
Commit-ID: 849401b66d305f3feb75b6db7459b95ad190552a
Gitweb: http://git.kernel.org/tip/849401b66d305f3feb75b6db7459b95ad190552a
Author: Preeti U Murthy
AuthorDate: Sun, 9 Feb 2014 11:32:22 +0530
Committer: Thomas Gleixner
CommitDate: Sun, 9 Feb 2014 15:11:47 +0100
tick: Fixup more fallo
* Mika Westerberg wrote:
> On Thu, Feb 06, 2014 at 03:34:18PM +0100, Thomas Gleixner wrote:
> > On Thu, 6 Feb 2014, Mika Westerberg wrote:
> > > arch/x86/kernel/tsc.c | 7 ---
> > > 1 file changed, 4 insertions(+), 3 deletions(-)
> > >
> > > diff --git a/arch/x86/kernel/tsc.c b/arch/x86/ke
Mark function as static in net/9p/client.c because it is not used
outside this file.
This eliminates the following warning in net/9p/client.c:
net/9p/client.c:207:18: warning: no previous prototype for ‘p9_fcall_alloc’
[-Wmissing-prototypes]
Signed-off-by: Rashika Kheria
Reviewed-by: Josh Tripl
Include appropriate header file net/caif/caif_dev.h in caif/caif_dev.c
because it has prototype declarations of function defined in
caif/caif_dev.c.
This eliminates the following file in caif/caif_dev.c:
net/caif/caif_dev.c:303:6: warning: no previous prototype for ‘caif_enroll_dev’
[-Wmissing-pr
Commit-ID: 0668d3065128d39449c097e62dbdb5707820137d
Gitweb: http://git.kernel.org/tip/0668d3065128d39449c097e62dbdb5707820137d
Author: Stephen Boyd
AuthorDate: Thu, 2 Jan 2014 16:37:32 -0800
Committer: Thomas Gleixner
CommitDate: Sun, 9 Feb 2014 15:27:21 +0100
genirq: Add devm_request_
Include appropriate header file net/caif/caif_dev.h in caif/cfsrvl.c
because it has prototype declaration of functions defined in
caif/cfsrvl.c.
This eliminates the following warning in caif/cfsrvl.c:
net/caif/cfsrvl.c:198:6: warning: no previous prototype for ‘caif_free_client’
[-Wmissing-protot
* Masami Hiramatsu wrote:
> I guess the second reason is why the stap takes so long time to set
> probes. stap tries to register kprobes without disabled flag, that
> means we enables thousands of probes (overheads).
>
> So the similar thing happens when we enables events as below;
>
> # f
Commit 96286b576690 ("dmaengine: Add support for BCM2835") added an
optional dependency on MACH_BCM2708. But there's no Kconfig symbol
MACH_BCM2708.
(There was an entry for MACH_BCM2708 in arch/arm/tools/mach-types from
v2.6.37 until v3.2. But it seems that entry was never used in the tree.)
This
Commit f615136c06a7 ("xtensa: add SMP support") added "select
USE_GENERIC_SMP_HELPERS". But the Kconfig symbol USE_GENERIC_SMP_HELPERS
was already removed in v3.13, so that select is a nop. Drop it.
Signed-off-by: Paul Bolle
---
Untested.
USE_GENERIC_SMP_HELPERS was removed in commit 0a06ff068f1
Commit c67d0f29262b ("ARM: s3c24xx: get rid of custom ")
got rid of the Kconfig symbols S3C24XX_GPIO_EXTRA64 and
S3C24XX_GPIO_EXTRA128. It missed one select of both of these symbols, so
get rid of those now.
Signed-off-by: Paul Bolle
---
Untested.
arch/arm/mach-s3c24xx/Kconfig | 2 --
1 file ch
Mark functions as static in core/dev.c because they are not used outside
this file.
This eliminates the following warning in core/dev.c:
net/core/dev.c:2806:5: warning: no previous prototype for ‘__dev_queue_xmit’
[-Wmissing-prototypes]
net/core/dev.c:4640:5: warning: no previous prototype for
‘
1 - 100 of 446 matches
Mail list logo