Please don't. Pure colding style cleanup is discouraged.
You're not going to run checkpatch.pl on the whole kernel tree and fix
all the complaints, are you?
On 2013/9/3 16:29, Chen Gang wrote:
> For 'switch case', remove redundancy '\t' (also can let related lines
> within 80 columns) and remove
On Tue, Sep 3, 2013 at 10:48 AM, Namhyung Kim wrote:
> Hi,
>
> On Fri, 30 Aug 2013 18:49:05 +0200, Robert Richter wrote:
>> On 30.08.13 17:18:36, Sedat Dilek wrote:
>>> So, I tried to build perf the "official" way:
>>>
>>>$ make -C tools/ perf_install
>>>
>>> Unfortunately, my build breaks lik
On 09/03/2013 10:44 AM, Vineet Gupta wrote:
b) Could you check that it is not just a performance regression?
Does ./msgctl08 1000 16 hang, too?
Nope that doesn't hang. The minimal configuration that hangs reliably is msgctl
5 2
With this config there are 3 processes.
...
555 554
On 09/03/2013 12:08 PM, Yasuaki Ishimatsu wrote:
> (2013/08/30 22:16), Srivatsa S. Bhat wrote:
>> Due to the region-wise ordering of the pages in the buddy allocator's
>> free lists, whenever we want to delete a free pageblock from a free list
>> (for ex: when moving blocks of pages from one list t
Hi,
On Fri, 30 Aug 2013 18:49:05 +0200, Robert Richter wrote:
> On 30.08.13 17:18:36, Sedat Dilek wrote:
>> So, I tried to build perf the "official" way:
>>
>>$ make -C tools/ perf_install
>>
>> Unfortunately, my build breaks like this:
>> ...
>> make[2]: Entering directory
>> `~/src/linux-k
strncmp() does not check if the params are NULL. In acpi_table_parse(),
if @id is NULL, the kernel will panic.
Signed-off-by: Tang Chen
Acked-by: Toshi Kani
---
drivers/acpi/tables.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/acpi/tables.c b/drivers/acpi/t
save_add_info() is defined as:
#ifdef CONFIG_MEMORY_HOTPLUG
static inline int save_add_info(void) {return 1;}
#else
static inline int save_add_info(void) {return 0;}
#endif
which means it is true when memory hotplug is configured.
In acpi_numa_memory_affin
Use pr_{info|err}() instead of printk() in arch/x86/mm/srat.c.
As suggested by Joe Perches , use pr_fmt(fmt) to simplify
the output format.
Signed-off-by: Tang Chen
Acked-by: Toshi Kani
---
arch/x86/mm/srat.c | 32 +---
1 files changed, 17 insertions(+), 15 deleti
The comment about return value of acpi_table_parse() is incorrect.
This patch fix it.
Since all callers only check if the function succeeded or not, this
patch simplifies the semantics by returning -errno for all failure
cases. This will also simply the comment.
As suggested by Toshi Kani , also
This patch-set fix the following problems:
1. Kill useless function save_add_info() which will block us from using
numa when MEMORY_HOTPLUG is not configured.
2. acpi_table_parse() didn't check if @id is NULL.
3. Fix incorrect comment in acpi_table_parse(), and return -ENOENT if a
table is n
On Mon, Sep 02, 2013 at 05:00:15PM +0300, Sergey Senozhatsky wrote:
> > > Thanks a lot Sergey for testing this further!
> > >
> > > Interesting results, so rtime is always one or two units off stime after
> > > scaling.
> > > Stanislaw made the scaling code with Linus and he has a better idea on
On 09/02/2013 09:59 PM, Manfred Spraul wrote:
> Hi,
>
> [forgot to cc everyone, thus I'll summarize some mails...]
> On 09/02/2013 06:58 AM, Vineet Gupta wrote:
>> On 08/31/2013 11:20 PM, Linus Torvalds wrote:
>>> Vineet, actual patch for what Davidlohr suggests attached. Can you try it?
>>>
>>>
On Tue, Sep 3, 2013 at 9:49 AM, Manfred Spraul wrote:
> Hi Vineet,
>
>
> On 09/03/2013 09:34 AM, Vineet Gupta wrote:
>
> However assuming we are going ahead with debugging this - can you please
> confirm whether you see the issue on x86 as well as I have not tested that ?
> I vaguely remember one
Hello,
We are working on an infrastructure to create a system core file of a specific
process at run-time, non-disruptively. It can also be extended to a case where
a process is able to take a self-core dump.
gcore, an existing utility creates a core image of the specified process. It
attaches
On 09/03/2013 11:26 AM, Yasuaki Ishimatsu wrote:
> (2013/08/30 22:15), Srivatsa S. Bhat wrote:
>> Given a page, we would like to have an efficient mechanism to find out
>> the node memory region and the zone memory region to which it belongs.
>>
>> Since the node is assumed to be divided into equal
For 'switch case', remove redundancy '\t' (also can let related lines
within 80 columns) and remove redundancy empty lines, just like other
'switch case' which match 'kernel code style' within the file.
Let blkpg_ioctl() within 80 columns. Let 2nd line of blkdev_ioctl() and
__blkdev_driver_ioctl()
Hi all,
Changes since 20130902:
The arm tree gained a build failure for which I reverted a commit.
The drm tree still had its build failure.
The net-next tree still had its build failure.
I have created today's linux
* Hemant Kumar Shaw wrote:
> This series adds support to perf to list and probe into the SDT markers.
> The first patch implements listing of all the SDT markers present in
> the ELFs (executables or libraries). The SDT markers are present in the
> .note.stapsdt section of the elf. That section
From: Sonic Zhang
- Remove unused macro MAX_RESOURCES
- Override blackfin legacy peripheral pinmux request and free APIs by
devm_pinctrl_get_select_default() to init the peripheral portmux setting.
v3-chagnes:
- Move pinctrl soc data out of blackfin arch folder.
Signed-off-by: Sonic Zhang
---
From: Sonic Zhang
- Remove non gpio lib code from blackfin architecture.
- Limit the lagecy blackfin gpio driver to bf5xx processors only.
- Remove unused definition of the pint power functions.
Signed-off-by: Sonic Zhang
Acked-by: Linus Walleij
---
arch/blackfin/Kconfig| 7 ++
On 09/03/2013 01:06 PM, Hemant Kumar wrote:
This patch will enable perf to list all the sdt markers present
in an elf file. The markers are present in the .note.stapsdt section
of the elf. We can traverse through this section and collect the
required info about the markers.
This hasn't been thoro
Hi all,
After merging the final tree, today's linux-next build (arm defconfig)
failed like this:
arch/arm/kernel/built-in.o: In function `setup_arch':
io.c:(.init.text+0x594): undefined reference to `erratum_a15_798181_init'
Presumably caused by commit 34905a33184a ("ARM: 7804/2: Add check for
C
On Tue, Sep 03, 2013 at 08:59:59AM +0530, Kumar Gaurav wrote:
> I tried applying this patch on linux-next and it applies well.
> i used
> git apply --apply
>
The merge window is open. No one is applying patches until -rc1 comes
out.
This one is not redone in the right way. The subject is w
On Tue, Sep 03, 2013 at 12:18:58PM +0800, Wanpeng Li wrote:
> Date: Tue, 3 Sep 2013 12:18:58 +0800
> From: Wanpeng Li
> To: Chen Gong
> Cc: Andrew Morton , Andi Kleen
> , Fengguang Wu , Naoya
> Horiguchi , Tony Luck ,
> linux...@kvack.org, linux-kernel@vger.kernel.org
> Subject: Re: [PATCH v2
On Sat, Aug 31, 2013 at 02:52:32AM +, Nicholas A. Bellinger wrote:
> From: Nicholas Bellinger
>
> This patch adds lib/idr.c based transport_init_session_tags() logic
> that allows fabric drivers to setup a per-cpu se_sess->sess_tag_pool
> and associated se_sess->sess_cmd_map for basic tagged
On Sat, Aug 31, 2013 at 02:52:34AM +, Nicholas A. Bellinger wrote:
> From: Nicholas Bellinger
>
> This patch adds support for pre-allocation of per tv_cmd descriptor
> scatterlist + user-space page pointer memory using se_sess->sess_cmd_map
> within tcm_vhost_make_nexus() code.
>
> This incl
On 09/03/2013 02:42 PM, Richard Weinberger wrote:
> Hi!
>
> Am 03.09.2013 05:17, schrieb Jeff Liu:
>> Hello,
>>
>> It seems like Sunil has fixed a similar issue against ocfs2-1.4
>> several years ago:
>> https://oss.oracle.com/git/?p=ocfs2-1.4.git;a=commitdiff_plain;h=2fd250839d0f5073af8d42e97f1d
There are no consumers of pci_enable_msi_block_auto()
interface have left. Eliminate it for now.
Signed-off-by: Alexander Gordeev
---
Documentation/PCI/MSI-HOWTO.txt | 40 ++
drivers/pci/msi.c | 25
include/linux/pci.
diff -r -U 4 a/include/linux/sysctl.h b/include/linux/sysctl.h
--- a/include/linux/sysctl.h2013-09-02 12:44:17.415733555 +0300
+++ b/include/linux/sysctl.h2013-09-02 12:44:17.537622128 +0300
@@ -436,8 +436,16 @@
NET_TCP_FRTO_RESPONSE=125,
#ifdef CONFIG_NET_IPV4_SNMP_MAPPING
diff -r -U 4 a/include/net/ip.h b/include/net/ip.h
--- a/include/net/ip.h 2013-08-25 15:51:01.609307946 +0300
+++ b/include/net/ip.h 2013-08-25 15:51:01.692293432 +0300
@@ -202,8 +202,10 @@
#define NET_INC_STATS_USER(net, field) __NET_INC_STATS_USER(net, field)
#define NET_ADD_STATS_BH(net, fie
On Tue, Sep 3, 2013 at 12:50 AM, Linus Torvalds
wrote:
>> Is there a reason why these did not get PULLed..?
>
> Very simple: I have no such email in my mailbox. I see the "target
> updates for v3.11-rc1" email (and I pulled that), and there is nothing
> since.
>
> I don't even have that mail in my
The __clk_get_flags() symbol is exported immediately following the
clk_unprepare_unused_subtree() function. This is unusual, since a symbol
export typically follows body of the function that it exports.
Signed-off-by: Thierry Reding
---
drivers/clk/clk.c | 2 +-
1 file changed, 1 insertion(+), 1
diff -r -U 4 a/include/linux/snmp.h b/include/linux/snmp.h
--- a/include/linux/snmp.h 2013-09-01 09:03:35.355639246 +0300
+++ b/include/linux/snmp.h 2013-09-01 09:03:35.410960814 +0300
@@ -261,5 +261,18 @@
LINUX_MIB_XFRMOUTPOLERROR, /* XfrmOutPolError */
__LIN
Hi,
For a while now, we have been testing a piece of code that maintains per-IP
network statistics for diagnosing network problems.
I'm not sure if this idea as a whole or parts of it are viable for integration
into mainline, so I'm sending it as is
(a set of patches over EL6.4 kernel). I would
diff -r -U 4 a/include/net/ip.h b/include/net/ip.h
--- a/include/net/ip.h 2013-08-27 17:15:42.952712200 +0300
+++ b/include/net/ip.h 2013-08-27 17:15:43.027698865 +0300
@@ -189,13 +189,20 @@
#define IP_ADD_STATS(net, field, val)
SNMP_ADD_STATS((net)->mib.ip_statistics, field, val)
#define IP_
On 09/03/2013 03:01 PM, Wanpeng Li wrote:
> There is a race window between vmap_area free and show vmap_area information.
>
> AB
>
> remove_vm_area
> spin_lock(&vmap_area_lock);
> va->flags &= ~VM_VM_AREA;
Here we also do: va->vm = NULL; And
On Tue, Sep 03, 2013 at 03:01:46PM +0800, Wanpeng Li wrote:
> There is a race window between vmap_area free and show vmap_area information.
>
> AB
>
> remove_vm_area
> spin_lock(&vmap_area_lock);
> va->flags &= ~VM_VM_AREA;
> spin_unlock(&vmap
> Subject: Re: [PATCHv2 1/4] pwm: Add Freescale FTM PWM driver support
>
> On Tue, Sep 03, 2013 at 04:17:09AM +, Xiubo Li-B47053 wrote:
> > > Subject: Re: [PATCHv2 1/4] pwm: Add Freescale FTM PWM driver support
> > >
> > > You simply don't need the available field. You don't need to track
> >
Pcie_capability_xxx() interfaces were introudced to
simplify code to access PCIe Cap config space. And
because PCI core saves the PCIe Cap offset in
set_pcie_port_type() when device is enumerated.
So we can use pci_is_pcie() instead.
Signed-off-by: Yijing Wang
Cc: Jiang Liu
Cc: Anil Gurumurthy
PCI core saves PCIe Cap offset in pcie_cap,
use pcie_cap to simplify code.
Signed-off-by: Yijing Wang
---
arch/x86/pci/fixup.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/x86/pci/fixup.c b/arch/x86/pci/fixup.c
index f5809fa..ee8330d 100644
--- a/arch/x86/pci/fi
This patch enables perf to probe on the marker name specified on the command
line.
---
tools/perf/builtin-probe.c|7 +++
tools/perf/util/probe-event.c | 11
tools/perf/util/symbol-elf.c | 112 +
tools/perf/util/symbol.h |5 ++
4 fi
use pcie_capability_read_word() to simplify code.
Signed-off-by: Yijing Wang
Cc: e1000-de...@lists.sourceforge.net
Cc: net...@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
---
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c |6 ++
1 files changed, 2 insertions(+), 4 deletions(-)
diff -
Use pci_is_pcie() instead of pci_find_capability
to simplify code.
Signed-off-by: Yijing Wang
---
drivers/pci/probe.c |3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/drivers/pci/probe.c b/drivers/pci/probe.c
index eeb50bd..0fa9075 100644
--- a/drivers/pci/probe.c
+++ b
Use pci_is_pcie() to simplify code.
Signed-off-by: Yijing Wang
Cc: Gavin Shan
Cc: Benjamin Herrenschmidt
Cc: Paul Mackerras
Cc: linuxppc-...@lists.ozlabs.org
Cc: linux-kernel@vger.kernel.org
---
arch/powerpc/kernel/eeh.c |3 +--
arch/powerpc/sysdev/fsl_pci.c |2 +-
2 files changed
This patch will enable perf to list all the sdt markers present
in an elf file. The markers are present in the .note.stapsdt section
of the elf. We can traverse through this section and collect the
required info about the markers.
This hasn't been thoroughly tested with the other
options of perf.
-
This series adds support to perf to list and probe into the SDT markers.
The first patch implements listing of all the SDT markers present in
the ELFs (executables or libraries). The SDT markers are present in the
.note.stapsdt section of the elf. That section can be traversed to list
all the marke
Use pci_is_pcie() instead of pci_find_capability
to simplify code.
Signed-off-by: Yijing Wang
Cc: Andrew Vasquez
Cc: linux-dri...@qlogic.com
Cc: "James E.J. Bottomley"
Cc: linux-s...@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
---
drivers/scsi/qla2xxx/qla_mr.c |6 ++
1 files chang
On 08/20/13 22:54, Francois Romieu wrote:
Chris Clayton :
[...]
[0.207094] acpi PNP0A08:00: ACPI _OSC support notification failed,
disabling PCIe ASPM
[0.207155] acpi PNP0A08:00: Unable to request _OSC control (_OSC support
mask: 0x08)
[...]
[5.311191] r8169 :07:00.0: can'
Pcie_capability_xxx() interfaces were introudced to
simplify code to access PCIe Cap config space. And
because PCI core saves the PCIe Cap offset in
set_pcie_port_type() when device is enumerated.
So we can use pci_is_pcie() instead.
Signed-off-by: Yijing Wang
Cc: Jiang Liu
Cc: "James E.J. Botto
On 09/03/2013 12:46 PM, Sedat Dilek wrote:
> Just FYI:
>
> Linux Testing Project (LTP) will do a new release in the 1st September week.
> Some IPC test-suites were reworked.
> Manfred can you look at them ("...msgctl08 uses one queue for each
> thread pair.").
> ( Might be worth to throw some words
On 09/03/2013 03:01 PM, Wanpeng Li wrote:
> Changelog:
> *v2 -> v3: revert commit d157a558 directly
>
> The VM_UNINITIALIZED/VM_UNLIST flag introduced by commit f5252e00(mm: avoid
> null pointer access in vm_struct via /proc/vmallocinfo) is used to avoid
> accessing the pages field with unallocat
On 09/03/2013 03:01 PM, Wanpeng Li wrote:
> Changelog:
> *v2 -> v3: revert commit 46c001a2 directly
>
> Don't warning twice in __vmalloc_area_node and __vmalloc_node_range if
> __vmalloc_area_node allocation failure. This patch revert commit 46c001a2
> (mm/vmalloc.c: emit the failure message befo
On Tue, Sep 3, 2013 at 8:01 AM, Ingo Molnar wrote:
>
> * Waiman Long wrote:
>
>> On 08/30/2013 10:42 PM, Al Viro wrote:
>> >On Sat, Aug 31, 2013 at 03:35:16AM +0100, Al Viro wrote:
>> >
>> >>Aha... OK, I see what's going on. We end up with shm_mnt *not* marked
>> >>as long-living vfsmount, even
Commit-ID: 579e7865b2d431bb7d380a1b4ea0aa8eb8a10fd4
Gitweb: http://git.kernel.org/tip/579e7865b2d431bb7d380a1b4ea0aa8eb8a10fd4
Author: Arnaldo Carvalho de Melo
AuthorDate: Mon, 2 Sep 2013 15:37:32 -0300
Committer: Arnaldo Carvalho de Melo
CommitDate: Mon, 2 Sep 2013 15:37:32 -0300
perf
Commit-ID: fa0097ee690693006ab1aea6c01ad3c851b65c77
Gitweb: http://git.kernel.org/tip/fa0097ee690693006ab1aea6c01ad3c851b65c77
Author: Adrian Hunter
AuthorDate: Sat, 31 Aug 2013 21:50:51 +0300
Committer: Arnaldo Carvalho de Melo
CommitDate: Mon, 2 Sep 2013 14:58:19 -0300
perf: Add a du
Commit-ID: 0b8c25d949e010274c6697c570b772797ebc7c27
Gitweb: http://git.kernel.org/tip/0b8c25d949e010274c6697c570b772797ebc7c27
Author: David Ahern
AuthorDate: Sun, 28 Jul 2013 09:48:32 -0600
Committer: Arnaldo Carvalho de Melo
CommitDate: Mon, 2 Sep 2013 14:58:21 -0300
perf tools: Fix
Commit-ID: 31cd3855c98119cae287b761d8d2e75018714c5d
Gitweb: http://git.kernel.org/tip/31cd3855c98119cae287b761d8d2e75018714c5d
Author: Arnaldo Carvalho de Melo
AuthorDate: Mon, 2 Sep 2013 16:40:40 -0300
Committer: Arnaldo Carvalho de Melo
CommitDate: Mon, 2 Sep 2013 16:40:40 -0300
perf
Commit-ID: f9da0b0c74af25a68b9ac43a2c81f2eea970de5a
Gitweb: http://git.kernel.org/tip/f9da0b0c74af25a68b9ac43a2c81f2eea970de5a
Author: Arnaldo Carvalho de Melo
AuthorDate: Mon, 2 Sep 2013 13:46:44 -0300
Committer: Arnaldo Carvalho de Melo
CommitDate: Mon, 2 Sep 2013 14:58:19 -0300
perf
Commit-ID: 395c307089c9f5f0d82c63c11c79227b57bb7ac5
Gitweb: http://git.kernel.org/tip/395c307089c9f5f0d82c63c11c79227b57bb7ac5
Author: Adrian Hunter
AuthorDate: Sat, 31 Aug 2013 21:50:53 +0300
Committer: Arnaldo Carvalho de Melo
CommitDate: Mon, 2 Sep 2013 14:58:20 -0300
perf tests: Ad
On Mon, Sep 2, 2013 at 6:29 PM, Manfred Spraul wrote:
> Hi,
>
> [forgot to cc everyone, thus I'll summarize some mails...]
>
> On 09/02/2013 06:58 AM, Vineet Gupta wrote:
>>
>> On 08/31/2013 11:20 PM, Linus Torvalds wrote:
>>>
>>> Vineet, actual patch for what Davidlohr suggests attached. Can you
Commit-ID: be65a89a0b558cb5b6863be71861f29b36feb88e
Gitweb: http://git.kernel.org/tip/be65a89a0b558cb5b6863be71861f29b36feb88e
Author: Arnaldo Carvalho de Melo
AuthorDate: Mon, 2 Sep 2013 16:22:31 -0300
Committer: Arnaldo Carvalho de Melo
CommitDate: Mon, 2 Sep 2013 16:22:31 -0300
perf
Commit-ID: d22d1a2a2c224b3b378d873589ced27add7ebde4
Gitweb: http://git.kernel.org/tip/d22d1a2a2c224b3b378d873589ced27add7ebde4
Author: Adrian Hunter
AuthorDate: Sat, 31 Aug 2013 21:50:52 +0300
Committer: Arnaldo Carvalho de Melo
CommitDate: Mon, 2 Sep 2013 14:58:20 -0300
perf tools: Ad
Commit-ID: b41f1cec91c37eeea6fdb15effbfa24ea0a5536b
Gitweb: http://git.kernel.org/tip/b41f1cec91c37eeea6fdb15effbfa24ea0a5536b
Author: Namhyung Kim
AuthorDate: Tue, 27 Aug 2013 11:41:53 +0900
Committer: Arnaldo Carvalho de Melo
CommitDate: Mon, 2 Sep 2013 14:58:21 -0300
perf list: Skip
Commit-ID: 6e7eeb51106d2e9ef7975214747e76d23c5d01af
Gitweb: http://git.kernel.org/tip/6e7eeb51106d2e9ef7975214747e76d23c5d01af
Author: Arnaldo Carvalho de Melo
AuthorDate: Mon, 2 Sep 2013 10:39:21 -0300
Committer: Arnaldo Carvalho de Melo
CommitDate: Mon, 2 Sep 2013 14:58:18 -0300
perf
Changelog:
*v2 -> v3: revert commit 46c001a2 directly
Don't warning twice in __vmalloc_area_node and __vmalloc_node_range if
__vmalloc_area_node allocation failure. This patch revert commit 46c001a2
(mm/vmalloc.c: emit the failure message before return).
Signed-off-by: Wanpeng Li
---
mm/vmallo
Changelog:
*v2 -> v3: revert commit d157a558 directly
The VM_UNINITIALIZED/VM_UNLIST flag introduced by commit f5252e00(mm: avoid
null pointer access in vm_struct via /proc/vmallocinfo) is used to avoid
accessing the pages field with unallocated page when show_numa_info() is
called. This patch mo
Changelog:
*v1 -> v2: rebase against mmotm tree
The caller address has already been set in set_vmalloc_vm(), there's no need
to set it again in __vmalloc_area_node.
Reviewed-by: Zhang Yanfei
Signed-off-by: Wanpeng Li
---
mm/vmalloc.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/mm/vmall
There is a race window between vmap_area free and show vmap_area information.
AB
remove_vm_area
spin_lock(&vmap_area_lock);
va->flags &= ~VM_VM_AREA;
spin_unlock(&vmap_area_lock);
spin_lock(&vm
601 - 668 of 668 matches
Mail list logo