On Sun, May 12, 2013 at 9:23 AM, Kirill A. Shutemov
wrote:
> From: "Kirill A. Shutemov"
>
> do_huge_pmd_anonymous_page() has copy-pasted piece of handle_mm_fault()
> to handle fallback path.
>
> Let's consolidate code back by introducing VM_FAULT_FALLBACK return
> code.
>
> Signed-off-by: Kirill
On Wed May 22 2013 07:52:03 Prabhakar Lad wrote:
> Hi All,
>
> On Tue, May 14, 2013 at 11:15 AM, Lad Prabhakar
> wrote:
> > From: Lad, Prabhakar
> >
> > This patch series cleanups the check for EPERM in dbg_g/s_register
> > and vidioc_g/s_register.
> >
> > Lad, Prabhakar (4):
> > media: i2c: r
On 05/21/2013 07:25 PM, Stephane Eranian wrote:
> On Thu, May 16, 2013 at 12:15 PM, Michael Neuling wrote:
>> Peter Zijlstra wrote:
>>
>>> On Wed, May 15, 2013 at 03:37:22PM +0200, Stephane Eranian wrote:
On Fri, May 3, 2013 at 2:11 PM, Peter Zijlstra
wrote:
> We should always hav
Per Bjorn, use pci_walk_bus instead of for_each_pci_dev or
calling pci_realloc_detect() recursively.
And separate it to different patch.
Signed-off-by: Yinghai Lu
---
drivers/pci/setup-bus.c | 46 +++---
1 file changed, 31 insertions(+), 15 deletions(-
Let root bus hotadd path use same code for booting path.
As driver is not loaded yet, we could retry to make sure
all pci devices get resources allocated.
Signed-off-by: Yinghai Lu
---
drivers/acpi/pci_root.c |2 +-
drivers/pci/setup-bus.c | 15 +++
include/linux/pci.h |
We need to split pci_assign_unassiged_resource to every root bus, so in
next patch we can stop early for root bus without ioport range, and still
continue to retry on buses that do have ioport range.
Also later we could let root bus hot add and booting path use same code.
-v2: separate enable_loc
as later bus can not be used as temp variable after we change to
per root bus handling with assign unassigned resources.
Per Bjorn, separated out different patch.
Signed-off-by: Yinghai Lu
---
drivers/pci/setup-bus.c |7 +++
1 file changed, 3 insertions(+), 4 deletions(-)
Index: linux
Add enable_local to prepare assign unassigned resource
for per root bus.
Per Bjorn, separate it to different patch.
Signed-off-by: Yinghai Lu
---
drivers/pci/setup-bus.c | 40 +---
1 file changed, 21 insertions(+), 19 deletions(-)
Index: linux-2.6/drivers
BenH reported that there is some assign unassigned resource problem
in powerpc.
It turns out after
| commit 0c5be0cb0edfe3b5c4b62eac68aa2aa15ec681af
| Date: Thu Feb 23 19:23:29 2012 -0800
|
|PCI: Retry on IORESOURCE_IO type allocations
even the root bus does not have io port range, it will
Current we enable bridges after bus scan and assign resources.
and it is spreaded a lot of places.
We can move it to where pci device is enabled, and need
to go up to root bus and enable bridge one by one down to pci
dev.
So that will delay enable bridge late as needed bassis,
also kill one incon
For x86 8 sockets or 32 sockets system that will have one root bus per socket,
They may have some root buses do not have mmio non-pref range.
We should not fall into retry in this case, as root bus does
not mmio non-pref range.
We check if the root bus has mmio-nonpref range, and set bus_res_type
BenH reported that there is some assign unassigned resource problem
in powerpc.
It turns out after
| commit 0c5be0cb0edfe3b5c4b62eac68aa2aa15ec681af
| Date: Thu Feb 23 19:23:29 2012 -0800
|
|PCI: Retry on IORESOURCE_IO type allocations
even the root bus does not have io port range, it will
On 2013/5/22 14:06, Benjamin Herrenschmidt wrote:
> On Wed, 2013-05-22 at 12:49 +0800, Libo Chen wrote:
>> ping...
>
> This is pointless. We routinely avoid adding such crap by having
> the various free(...) routines cope with NULL. You just need to make
> sure you are indeed NULL in the error cas
I'm not sure what is more ridiculous, whether the seven pings or the
lack of review...
Paolo
Il 06/02/2013 16:15, Paolo Bonzini ha scritto:
> This series regards the whitelist that is used for the SG_IO ioctl. This
> whitelist has three problems:
>
> * the bitmap of allowed commands is designed
On Tue, May 21, 2013 at 10:33:30PM -0300, Marcelo Tosatti wrote:
> On Tue, May 21, 2013 at 11:39:03AM +0300, Gleb Natapov wrote:
> > > Any pages with stale information will be zapped by kvm_mmu_zap_all().
> > > When that happens, page faults will take place which will automatically
> > > use the n
This patchset introduces conditional branch filter in perf branch stack
sampling framework incorporating review comments from Michael Neuling,
Peter Zijlstra and Stephane Eranian.
Anshuman Khandual (5):
perf: New conditional branch filter criteria in branch stack sampling
powerpc, perf: Enable
Adding perf record support for new branch stack filter criteria
PERF_SAMPLE_BRANCH_COND.
Signed-off-by: Anshuman Khandual
---
tools/perf/builtin-record.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/tools/perf/builtin-record.c b/tools/perf/builtin-record.c
index cdf58ec..833743a 100644
--
Hi,
On Tuesday 07 May 2013 10:51 AM, Kishon Vijay Abraham I wrote:
Hi,
On Tuesday 07 May 2013 06:13 AM, myungjoo.ham wrote:
From: Graeme Gregory
This is the driver for the USB comparator built into the palmas chip. It
handles the various USB OTG events that can be generated by cable
insertio
From: Peter Zijlstra
This patch adds conditional branch filtering support,
enabling it for PERF_SAMPLE_BRANCH_COND in perf branch
stack sampling framework by utilizing an available
software filter X86_BR_JCC.
Signed-off-by: Peter Zijlstra
Signed-off-by: Anshuman Khandual
---
arch/x86/kernel/c
Enables conditional branch filter support for POWER8
utilizing MMCRA register based filter and also invalidates
a BHRB branch filter combination involving conditional
branches.
Signed-off-by: Anshuman Khandual
---
arch/powerpc/perf/power8-pmu.c | 10 ++
1 file changed, 10 insertions(+)
POWER8 PMU based BHRB supports filtering for conditional branches.
This patch introduces new branch filter PERF_SAMPLE_BRANCH_COND which
will extend the existing perf ABI. Other architectures can provide
this functionality with either HW filtering support (if present) or
with SW filtering of instru
Adding documentation support for conditional branch filter.
Signed-off-by: Anshuman Khandual
---
tools/perf/Documentation/perf-record.txt | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/tools/perf/Documentation/perf-record.txt
b/tools/perf/Documentation/perf-record.txt
ind
On Tue, 21 May 2013 17:39:49 -0400
Sandy Harris wrote:
Hi Sandy,
> On Tue, May 21, 2013 at 3:01 PM, Theodore Ts'o wrote:
>
> > I continue to be suspicious about claims that userspace timing
> > measurements are measuring anything other than OS behaviour.
>
> Yes, but they do seem to contain s
于 2013/5/22 8:15, Benjamin Herrenschmidt 写道:
On Tue, 2013-05-21 at 16:45 +0200, Alexander Gordeev wrote:
On Tue, Jan 15, 2013 at 03:38:53PM +0800, Mike Qiu wrote:
The test results is shown by 'cat /proc/interrups':
CPU0 CPU1 CPU2 CPU3
16: 240458 261601 2
Commit 55257d72bd1c51f25106350f4983ec19f62ed1fa (virtio-net: fill only rx
queues which are being used) only does the napi enabling during open for
curr_queue_pairs. This will break multiqueue receiving since napi of new queues
were still disabled after changing the number of queues.
This patch fix
On Wed, 2013-05-22 at 12:49 +0800, Libo Chen wrote:
> ping...
This is pointless. We routinely avoid adding such crap by having
the various free(...) routines cope with NULL. You just need to make
sure you are indeed NULL in the error case.
Ben.
> On 2013/5/5 16:38, chenlib...@gmail.com wrote:
>
On 2013/5/22 12:58, Li Zefan wrote:
> On 2013/5/22 12:49, Libo Chen wrote:
>>
>> ping...
>>
>> On 2013/5/5 16:38, chenlib...@gmail.com wrote:
>>> From: Libo Chen
>>>
>>> There is no need to free bcom_eng if kzalloc fail
>>>
>
> kfree(NULL) is fine. We gain nothing from this patch, and it even add
Hi all,
Changes since 20130521:
The crypto tree still had its build failure so I used the version from
next-20130520.
The driver-core tree gained a conflict against the pm tree.
The tty tree lost its build failure.
The vhost tree gained a conflict against the rr-fixes tree and a build
failure
21.05.2013 20:29, Oleg Nesterov пишет:
On 05/21, J. Bruce Fields wrote:
On Tue, May 21, 2013 at 05:28:36PM +0200, Oleg Nesterov wrote:
OK, so do not do this. Export the new helper.
You mean, export umh_set_fs_root() in the above?
That might be OK.
Yes, or even call_usermodehelper_root().
On Tue, 2013-05-21 at 14:30 -0700, Peter Boonstoppel wrote:
> RT throttling aims to prevent starvation of non-SCHED_FIFO threads
> when a rogue RT thread is hogging the CPU. It does so by piggybacking
> on the rt_bandwidth system and allocating at most rt_runtime per
> rt_period to SCHED_FIFO task
ping...
On 2013/5/15 12:47, Libo Chen wrote:
>
> This patch merge two patch that I sended before:
> 1. msm: iommu: add missing platform_device_unregister() in err case
> 2. msm: iommu: no need kfree before kzalloc successful
>
> It fixes two obvious problems:
> 1. We have registered msm_iommu_d
Hi all,
After merging the final tree, today's linux-next build (sparc32 defconfig)
produced this warning:
drivers/net/ethernet/sun/sunbmac.c: In function 'bigmac_set_multicast':
drivers/net/ethernet/sun/sunbmac.c:998:6: warning: unused variable 'i'
[-Wunused-variable]
Introduced by commit bfd42
Hi ,
After merging the final tree, today's linux-next build (i386 defconfig)
produced this warning:
drivers/gpu/drm/i915/i915_gem.c:2978:3: warning: format '%ld' expects argument
of type 'long int', but argument 3 has type 'size_t' [-Wformat]
Introduced by commit e4341d0356bc ("drm/i915: Be mor
Hi All,
On Tue, May 14, 2013 at 11:15 AM, Lad Prabhakar
wrote:
> From: Lad, Prabhakar
>
> This patch series cleanups the check for EPERM in dbg_g/s_register
> and vidioc_g/s_register.
>
> Lad, Prabhakar (4):
> media: i2c: remove duplicate checks for EPERM in dbg_g/s_register
> media: dvb-fro
On Wed, May 22, 2013 at 01:29:38AM -0400, Dave Jones wrote:
> On Wed, May 22, 2013 at 03:12:43PM +1000, Dave Chinner wrote:
>
> > > [ 36.339105] XFS (sda2): xfs_setattr_size: mask 0xa068 mismatch on
> file 0\xffb8\xffd3-\xff88\x\x
> >
> > So, still the same stra
Hi Laurent/Sylwester,
On Thu, May 16, 2013 at 6:48 PM, Lad Prabhakar
wrote:
> From: Lad, Prabhakar
>
> This patch adds "sync-on-green" property as part of
> endpoint properties and also support to parse them in the parser.
>
If you are ok with the patch can I send non RFC version of it ?
Regard
This is intended for use in loops which read data protected by RCU and may
have a large number of iterations. Such an example is dumping the list of
connections known to IPVS: ip_vs_conn_array() and ip_vs_conn_seq_next().
The benefits are for CONFIG_PREEMPT_RCU=y where we save CPU cycles
by movin
Add a helper that for use in loops which read data protected by RCU and
may have a large number of iterations. Such an example is dumping the list
of connections known to IPVS: ip_vs_conn_array() and ip_vs_conn_seq_next().
This series also updates IPVS to use the helper.
Simon Horman (2):
sche
This avoids the situation where walking of a large number of connections
may prevent scheduling for a long time while also avoiding excessive
calls to rcu_read_unlock() and rcu_read_lock().
Note that in the case of !CONFIG_PREEMPT_RCU this will
add a call to cond_resched().
[j...@ssi.bg: add cond
On Tue, 2013-05-21 at 19:01 -0700, Eric Dumazet wrote:
> Please use ACCESS_ONCE(), which is the standard way to deal with this,
> and remove the rcu_dereference_raw() in
> hlist_nulls_for_each_entry_rcu()
>
> something like : (for the nulls part only)
Thinking a bit more about this, I am a bit
(1) The first patch fixes a situation like this
Before patch:-
./perf record -j any -e branch-misses:k ls
Error:
The sys_perf_event_open() syscall returned with 95 (Operation not supported)
for event (branch-misses:k).
/bin/dmesg may provide additional information.
No CONFIG_PERF_EV
When the task moves around the system, the corresponding cpuhw
per cpu strcuture should be popullated with the BHRB filter
request value so that PMU could be configured appropriately with
that during the next call into power_pmu_enable().
Signed-off-by: Anshuman Khandual
---
arch/powerpc/perf/co
Completely ignore BHRB privilege state filter request as we are
already configuring MMCRA register with privilege state filtering
attribute for the accompanying PMU event. This would help achieve
cleaner user space interaction for BHRB.
Signed-off-by: Anshuman Khandual
---
arch/powerpc/perf/powe
On 05/22/2013 01:22 PM, Jason Wang wrote:
> Commit 55257d72bd1c51f25106350f4983ec19f62ed1fa (virtio-net: fill only rx
> queues which are being used) forgets to enable napi for new enabled queues
> which
> breaks the multiqueue receiving. This patch fixes it.
>
> Cc: Sasha Levin
> Signed-off-by: J
From: Colin Cross
Below is a patch from android kernel that maintains a histogram of
suspend times. Please review and provide feedback.
Statistices on the time spent in suspend are kept in
/sys/kernel/debug/sleep_time.
Cc: Android Kernel Team
Cc: Colin Cross
Cc: Todd Poynor
Cc: San Mehat
Cc
Commit 55257d72bd1c51f25106350f4983ec19f62ed1fa (virtio-net: fill only rx
queues which are being used) forgets to enable napi for new enabled queues which
breaks the multiqueue receiving. This patch fixes it.
Cc: Sasha Levin
Signed-off-by: Jason Wang
---
drivers/net/virtio_net.c |4 +++-
1
2013/5/22 Libo Chen :
> mtd is just member of bcm47xxsflash, so we should free bcm47xxsflash not its
> member.
Thanks!
--
Rafał
--
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 http://vger.k
On Wed, May 22, 2013 at 03:12:43PM +1000, Dave Chinner wrote:
> > [ 36.339105] XFS (sda2): xfs_setattr_size: mask 0xa068 mismatch on file
> > 0\xffb8\xffd3-\xff88\x\x
>
> So, still the same strange mask. That just doesn't seem right.
any idea what I screwed up
Sorry, just have been swamped since -rc1 came out.
-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 http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tu
On Wed, May 22, 2013 at 12:15:21AM -0400, Dave Jones wrote:
> On Wed, May 22, 2013 at 02:03:18PM +1000, Dave Chinner wrote:
>
> > That doesn't make a whole lot of sense to me. What am I missing?
> > Are you seeing this fire at all from notify_change()?
> >
> >WARN_ON_ONCE(!mutex_is_locked
On 05/10/2013 02:24 AM, Yinghai Lu wrote:
..
If you have any thinking of this patch-set, please let me know.
Talked to HPA, and he will put my patchset into tip/x86/mm after v3.10-rc1.
after that we can work on put pagetable on local node for hotadd path.
Hi,
It is Linux v3.10-rc2 now
used by commit d198a8acf543 ("kernel: might_fault does not imply
> might_sleep").
>
> I have used the version of the vhost tree from next-20130521 for today.
>
> It was unexpected that such patches would turn up in the "vhost" tree ...
>
> --
> Cheers,
> S
On 2013/5/22 12:49, Libo Chen wrote:
>
> ping...
>
> On 2013/5/5 16:38, chenlib...@gmail.com wrote:
>> From: Libo Chen
>>
>> There is no need to free bcom_eng if kzalloc fail
>>
kfree(NULL) is fine. We gain nothing from this patch, and it even adds one
more line to the code, so just drop thi pa
This patch looks like it should be in the 3.9-stable tree, should we apply
it?
--
From: "Axel Lin "
commit 78040b630f28298e0ecb56bf1bc53c7976314eab upstream
It is necessary to clear MC13892_SWITCHERS0_SWxHI bit when set voltage to
the
voltage range from 110 to 1375000. Leavi
ping...
On 2013/5/5 16:38, chenlib...@gmail.com wrote:
> From: Libo Chen
>
> There is no need to free bcom_eng if kzalloc fail
>
> Signed-off-by: Libo Chen
> ---
> drivers/dma/bestcomm/bestcomm.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/dma/bestcomm
Hi Rafael,
On 05/21/2013 07:15 PM, Rafael J. Wysocki wrote:
..
+ mem->state = to_state;
+ if (to_state == MEM_ONLINE)
+ mem->last_online = online_type;
Why do we need to remember last online type ?
And as far as I know, we can obtain which
Hi Vasilis,
Maybe the following two problems are the cause of the reboot panic
problem in qemu you mentioned.
On 04/30/2013 05:21 PM, Tang Chen wrote:
..
diff --git a/mm/page_alloc.c b/mm/page_alloc.c
index b9ea143..2fe9ebf 100644
--- a/mm/page_alloc.c
+++ b/mm/page_alloc.c
@@ -4793,9 +4793
36:6: note: in expansion of macro '_might_fault'
if (_might_fault())
^
and many, many more.
Caused by commit d198a8acf543 ("kernel: might_fault does not imply
might_sleep").
I have used the version of the vhost tree from next-20130521 for today.
It was unexpected that such pa
On Wed, May 22, 2013 at 12:19 PM, Ming Lei wrote:
> On Wed, May 22, 2013 at 12:15 PM, Ming Lei wrote:
>> On Tue, May 21, 2013 at 11:56 AM, zhangwei(Jovi)
>>
>> Nice job, I have run it on ARM already with only one line change.
>>
>> But looks 'Control-C' can't stop the tracing or need some time to
Hi Michael,
Today's linux-next merge of the vhost tree got conflicts in
include/linux/uio.h and lib/iovec.c between commit d2f83e9078b8 ("Hoist
memcpy_fromiovec/memcpy_toiovec into lib/") from the rr-fixes tree and
commit 48f0d22c9a46 ("Hoist memcpy_fromiovec into lib/") from the vhost
tree.
The
On Wed, May 22, 2013 at 12:15 PM, Ming Lei wrote:
> On Tue, May 21, 2013 at 11:56 AM, zhangwei(Jovi)
>
> Nice job, I have run it on ARM already with only one line change.
>
> But looks 'Control-C' can't stop the tracing or need some time to complete it,
> see below:
Sometimes, it doesn't work:
$
On Tue, May 21, 2013 at 11:56 AM, zhangwei(Jovi)
wrote:
>
> Dear,
>
> I'm pleased to announce that ktap release v0.1, this is the first official
> release of ktap project, it is expected that this release is not fully
> functional or very stable and we welcome bug reports and fixes for the issues.
On Wed, May 22, 2013 at 02:03:18PM +1000, Dave Chinner wrote:
> That doesn't make a whole lot of sense to me. What am I missing?
> Are you seeing this fire at all from notify_change()?
>
> WARN_ON_ONCE(!mutex_is_locked(&inode->i_mutex));
No.
>
>
> What's wrong with this code in d
On 05/15/2013 12:51 AM, Jiang Liu wrote:
> Enhance EDAC drviers to use hotplug-safe iterators to walk PCI buses.
>
> Signed-off-by: Jiang Liu
> Cc: Mauro Carvalho Chehab
> Cc: Doug Thompson
> Cc: linux-e...@vger.kernel.org
> Cc: linux-kernel@vger.kernel.org
> ---
> drivers/edac/i7core_edac.c
On Tue, May 21, 2013 at 10:56:05PM -0400, Dave Jones wrote:
> On Wed, May 22, 2013 at 10:16:03AM +1000, Dave Chinner wrote:
>
> Seems like I can trigger this from paths other than truncate too.. (eg,
> sys_open)
O_TRUNC?
> The mask is always 0xa068 though if that helps.
A bit - it confirms wha
Hi all,
On Wed, 22 May 2013 13:47:41 +1000 Stephen Rothwell
wrote:
>
> Today's linux-next merge of the driver-core tree got a conflict in
> drivers/base/cpu.c between commit 0902a9044fa5 ("Driver core: Use generic
> offline/online for CPU offline/online") from the pm tree and commit
> 1c4e2d70af
mtd is just member of bcm47xxsflash, so we should free bcm47xxsflash not its
member.
Signed-off-by: Libo Chen
Acked-by: Rafał Miłecki
---
drivers/mtd/devices/bcm47xxsflash.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
* add Acked-by: Rafał Miłecki
* change send list
diff --git a
Hi Greg,
Today's linux-next merge of the driver-core tree got a conflict in
drivers/base/cpu.c between commit 0902a9044fa5 ("Driver core: Use generic
offline/online for CPU offline/online") from the pm tree and commit
1c4e2d70afb1 ("cpu: make sure that cpu/online file created before
KOBJ_ADD is em
Hi Greg,
After merging the tty.current tree, today's linux-next build (x86_64
allmodconfig) produced this warning:
drivers/tty/mxser.c: In function 'mxser_ioctl':
drivers/tty/mxser.c:1680:3: warning: ISO C90 forbids mixed declarations and
code [-Wdeclaration-after-statement]
int p;
^
Intr
If -ENOSPC is met during f2fs_link, we should not make the inode as bad.
The inode is still alive.
Signed-off-by: Jaegeuk Kim
---
fs/f2fs/namei.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/fs/f2fs/namei.c b/fs/f2fs/namei.c
index 729b285..71aa305 100644
--- a/fs/f2fs/namei.c
+++ b/fs/f2fs
Use the following helper function committed by Al.
commit 7de9c6ee3ecffd99e1628e81a5ea5468f7581a1f
Author: Al Viro
Date: Sat Oct 23 11:11:40 2010 -0400
new helper: ihold()
...
Signed-off-by: Jaegeuk Kim
---
fs/f2fs/namei.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --g
when omap_get_control_dev faild, we should release related platform_device
* Changelog from v1:
* fix spell: s/fail/fails/, s/relational/related/ , thank Sergei
Signed-off-by: Libo Chen
---
drivers/usb/musb/omap2430.c |3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff
On 2013/5/22 6:19, Jonathan Corbet wrote:
> On Tue, 21 May 2013 11:56:14 +0800
> "zhangwei(Jovi)" wrote:
>
>> we welcome bug reports and fixes for the issues.
>
> I'm messing with it...first impression:
>
> unable create tracepoint event sys_enter_mmap on cpu 4, err: -19
> unable cr
On Wed, May 22, 2013 at 02:13:58AM +0200, Severin Gsponer wrote:
> Changed the comment style to C89 in vendorspecificextn.c. Found with
> checkpatch.pl
>
> Signed-off-by: Severin Gsponer
Where is patch 1/2? I see another patch you sent me, but that didn't
have a number on it.
confused,
greg
Rewrite part of read_vmcore() that reads objects in vmcore_list in the
same way as part reading ELF headers, by which some duplicated and
redundant codes are removed.
Signed-off-by: HATAYAMA Daisuke
Acked-by: Vivek Goyal
---
fs/proc/vmcore.c | 68 -
The previous patches newly added holes before each chunk of memory and
the holes need to be count in vmcore file size. There are two ways to
count file size in such a way:
1) supporse m as a poitner to the last vmcore object in vmcore_list.
, then file size is (m->offset + m->size), or
2) calcula
This patch introduces mmap_vmcore().
Don't permit writable nor executable mapping even with mprotect()
because this mmap() is aimed at reading crash dump memory.
Non-writable mapping is also requirement of remap_pfn_range() when
mapping linear pages on non-consecutive physical pages; see
is_cow_ma
On Wed, May 22, 2013 at 10:16:03AM +1000, Dave Chinner wrote:
Seems like I can trigger this from paths other than truncate too.. (eg,
sys_open)
Here's what I ended up with for debug
diff --git a/fs/dcache.c b/fs/dcache.c
index 2b39d16..b579dfe 100644
--- a/fs/dcache.c
+++ b/fs/dcache.c
@@ -2792
Allocate ELF headers on page-size boundary using __get_free_pages()
instead of kmalloc().
Later patch will merge PT_NOTE entries into a single unique one and
decrease the buffer size actually used. Keep original buffer size in
variable elfcorebuf_sz_orig to kfree the buffer later and actually
used
Currently, __find_vmap_area searches for the kernel VM area starting
at a given address. This patch changes this behavior so that it
searches for the kernel VM area to which the address belongs. This
change is needed by remap_vmalloc_range_partial to be introduced in
later patch that receives any p
We want to allocate ELF note segment buffer on the 2nd kernel in
vmalloc space and remap it to user-space in order to reduce the risk
that memory allocation fails on system with huge number of CPUs and so
with huge ELF note segment that exceeds 11-order block size.
Although there's already remap_v
The reasons why we don't allocate ELF note segment in the 1st kernel
(old memory) on page boundary is to keep backward compatibility for
old kernels, and that if doing so, we waste not a little memory due to
round-up operation to fit the memory to page boundary since most of
the buffers are in per-
Treat memory chunks referenced by PT_LOAD program header entries in
page-size boundary in vmcore_list. Formally, for each range [start,
end], we set up the corresponding vmcore object in vmcore_list to
[rounddown(start, PAGE_SIZE), roundup(end, PAGE_SIZE)].
This change affects layout of /proc/vmco
Currently, read to /proc/vmcore is done by read_oldmem() that uses
ioremap/iounmap per a single page. For example, if memory is 1GB,
ioremap/iounmap is called (1GB / 4KB)-times, that is, 262144
times. This causes big performance degradation due to repeated page
table changes, TLB flush and build-up
Since the ONFI 2.1, the onfi spec adds the Extended Parameter Page
to store the ECC info.
The onfi spec tells us that if the nand chip's recommended ECC codeword
size is not 512 bytes, then the @ecc_bits is 0xff. The host _SHOULD_ then
read the Extended ECC information that is part of the extended
Hello,
On 2013/04/30 12:01, Damian Hobson-Garcia wrote:
> Most architectures that define CONFIG_HAVE_DMA=y, have implementations for
> both dma_alloc_attrs() and dma_free_attrs(). All achitectures that do
> not define CONFIG_HAVE_DMA also have both of these definitions provided by
> dma-mapping-br
Fill in the recently added spi_master.bits_per_word_mask field in as
many drivers as possible. Make related cleanups, such as removing any
redundant error-checking, or empty setup callbacks.
Cc: device-drivers-de...@blackfin.uclinux.org
Cc: Mike Frysinger
Signed-off-by: Stephen Warren
---
The on
Introduce two macros to make setting up spi_master.bits_per_word_mask
easier, and avoid mistakes like writing BIT(n) instead of BIT(n - 1).
SPI_BPW_MASK is for a single supported value of bits_per_word_mask.
SPI_BPW_RANGE_MASK represents a contiguous set of bit lengths.
Signed-off-by: Stephen Wa
Current code looks strange because calling wm831x_clkout_set_parent() with 0 as
parent parameter, wm831x_clkout_get_parent() will return 1.
According to the datasheet:
R16528 (4090h) Clock Control1
BIT 0: CLKOUT output source select
0 = FLL output
1 = 32.768
According to the datasheet, FLL Enable is controlled by
R16530 (4092h) FLL Control1
BIT 0: FLL Enable
0 = Disable
1 = Enable
Thus the code should update WM831X_FLL_CONTROL_1 register rather than
WM831X_FLL_CONTROL_2 register.
Also fixes a trivial typo in de
Swap the parameters of strglobmatch() so that the first
parameter is the glob pattern as like as regexec(),
because the subjective parameter of strglobmatch() must
be the glob pattern, but not a sample string.
The new interface is:
bool strglobmatch(const char *glob, const char *str);
Actually
Support enable/disable multiple events trigger on ftrace
by using wild cards. This makes enabling multiple events
at once easy.
e.g.)
# echo vfs_symlink:enable_event:\*:\*rq\* > set_ftrace_filter
# cat set_ftrace_filter
all functions enabled
vfs_symlink:enable_event:*:*rq*:unlimited
Since try_module_get returns false( = 0) when it fails to
pindown a module, event_enable_func() returns 0 which means
"succeed". This can cause a kernel panic when the entry
is removed, because the event is already released.
This fixes the bug by returning -EBUSY, because the reason
why it fails i
Add strglobmatch() for generic wildcard string matching.
This code is originally from perf-tools. For porting in
the kernel, the limitation of the number of wildcards is
introduced, because of the limitation of the stack.
Signed-off-by: Masami Hiramatsu
Cc: Andrew Morton
Cc: Akinobu Mita
Cc: "P
Allow user to delete multiple kprobe events by using
wild cards. This makes removing events on a specific
function easy.
e.g.)
# echo p vfs_symlink >> kprobe_events
# echo p vfs_symlink+5 >> kprobe_events
# echo p vfs_read >> kprobe_events
# cat kprobe_events
p:kprobes/p_vfs_symlink_0 vfs_syml
Hi,
Here is a series of ftrace/perf updates to support multiple
event select operation by glob-based wild cards.
I've ported strglobmatch from perf-tools (with recursive call
limitation) for this use. It is easier to use (just replacing
strcmp) but slower than current parser-based matching.
I don
于 2013年05月22日 00:35, Vikram Narayanan 写道:
> What if we do like this? Let's do a strict check for now. ("EPPS")
> If some chip manufacturer had _strictly_ followed the spec, i.e., any
> two bytes are valid.
> Then make the code comply with the spec.
> Any comments?
Agreed.
I will send a new patch f
On 05/21/2013 10:01 PM, Alan Ott wrote:
> David Hauweele noticed that the mrf24j40 would hang arbitrarily after some
> period of heavy traffic. Two race conditions were discovered, and the
> driver was changed to use threaded interrupts, since the enable/disable of
> interrupts in the driver has r
David Hauweele noticed that the mrf24j40 would hang arbitrarily after some
period of heavy traffic. Two race conditions were discovered, and the
driver was changed to use threaded interrupts, since the enable/disable of
interrupts in the driver has recently been a lighning rod whenever issues
aris
This avoids a race condition where complete(tx_complete) could be called
before tx_complete is initialized.
Signed-off-by: Alan Ott
---
drivers/net/ieee802154/mrf24j40.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/ieee802154/mrf24j40.c
b/drivers/net/ieee8
1 - 100 of 591 matches
Mail list logo