If a file contains Instruction Tracing data then always allow
fields 'addr' and 'cpu' to be selected as options for perf
script. This is necessary because Instruction Trace decoding
may synthesize events with that information.
Signed-off-by: Adrian Hunter adrian.hun...@intel.com
---
Add support for decoding an Instruction Trace. The
Instruction Tracing events are stripped and replaced
by synthesized events.
Signed-off-by: Adrian Hunter adrian.hun...@intel.com
---
tools/perf/Documentation/perf-inject.txt | 27
tools/perf/builtin-inject.c | 71
Thanks Mark for your review comments.
On Wed, Jan 07, 2015 at 07:21:23PM +0530, Ashay Jaiswal wrote:
The regulator framework maintains a list of consumer regulators
for a regulator device and protects it from concurrent access
using the regulator device's mutex lock.
In the case of
Provide functions to queue Instruction Tracing data
buffers for processing. A Instruction Trace decoder
need not use the queues, however Intel BTS and Intel PT
will use them.
There is one queue for each of the mmap buffers that
were used for recording. Because those mmaps were
associated with
Provide hooks so that an Instruction Trace
decoder can process Instruction Tracing
events.
Signed-off-by: Adrian Hunter adrian.hun...@intel.com
---
tools/perf/util/itrace.c | 49
tools/perf/util/itrace.h | 13 +
2 files changed, 62
try_wait_for_completion returns bool so the wrapper function
xfs_dqflock_nowait should probably also return bool and not int.
Signed-off-by: Nicholas Mc Guire der.h...@hofr.at
---
patch was only compile tested x86_64_defconfig + CONFIG_XFS_FS=m
CONFIG_XFS_QUOTA=y
patch is against linux-next
In order to process Instruction Tracing
data in time order, the queue with data
with the lowest timestamp must be
processed first. Provide a heap to
keep track of which queue that is.
As with the queues, a decoder does not have
to use the heap, but Intel BTS and Intel PT
will use it.
Decoding Instruction Trace data may involve walking object
code. Rather than repetitively decoding the same instructions,
a cache can be used to cache the results.
Signed-off-by: Adrian Hunter adrian.hun...@intel.com
---
tools/perf/util/itrace.c | 123
Add a member to struct dso that can be used by Instruction
Trace implementations to hold a cache for decoded instructions.
Signed-off-by: Adrian Hunter adrian.hun...@intel.com
---
tools/perf/util/dso.c | 2 ++
tools/perf/util/dso.h | 3 +++
2 files changed, 5 insertions(+)
diff --git
Add functions to synthesize, count and print
Instruction Tracing error events.
Signed-off-by: Adrian Hunter adrian.hun...@intel.com
---
tools/perf/util/itrace.c | 55
tools/perf/util/itrace.h | 16 ++
2 files changed, 71 insertions(+)
It is assumed that Instruction Trace decoding will
synthesize events for consumption by other tools.
The nature of Instruction Tracing suggests the
initial inclusion of options for instructions
and branches events, but more could be added
as needed.
Signed-off-by: Adrian Hunter
Amend the perf record tool to read the
Instruction Tracing mmap and synthesize
Instruction Tracing events.
Signed-off-by: Adrian Hunter adrian.hun...@intel.com
---
tools/perf/builtin-record.c | 99 +++--
1 file changed, 86 insertions(+), 13 deletions(-)
Extend the -m option so that the number
of mmap pages for Instruction Tracing
can be specified.
Signed-off-by: Adrian Hunter adrian.hun...@intel.com
---
tools/perf/Documentation/perf-record.txt | 2 ++
tools/perf/builtin-record.c | 49 ++--
Add two user events for Instruction Tracing.
PERF_RECORD_ITRACE_INFO contains metadata,
consisting primarily the type of the
Instruction Tracing data plus some amount
of architecture-specific information.
There should be only one
PERF_RECORD_ITRACE_INFO event.
PERF_RECORD_ITRACE identifies
On Mon, 5 Jan 2015 18:26:07 -0800
Andy Lutomirski l...@amacapital.net wrote:
On Mon, Jan 5, 2015 at 6:18 PM, Kirill A. Shutemov kir...@shutemov.name
wrote:
On Mon, Jan 05, 2015 at 05:57:24PM -0800, Andy Lutomirski wrote:
On Mon, Jan 5, 2015 at 5:47 PM, Kirill A. Shutemov
On 08/01/15 00:04, Ong, Boon Leong wrote:
Hi Boon Leong - skipping the simple stuff.
+/**
+ * imr_del_range - Delete an Isolated Memory Region
+ * @reg: IMR index to remove
+ * @base: Physical base address of region aligned to 4k
+ * @size: Physical size of region in bytes
+ * @return:
On 08/01/2015 03:57, Fam Zheng wrote:
There is a race condition in virtscsi_handle_event, when many device
hotplug/unplug events flush in quickly.
The scsi_remove_device in virtscsi_handle_transport_reset may trigger
the BUG_ON in scsi_target_reap, because the state is altered behind it,
On Do, 2015-01-08 at 02:18 +0530, Rahul Sharma wrote:
Hi Hannes,
On Wed, Jan 7, 2015 at 4:13 PM, Hannes Frederic Sowa
han...@stressinduktion.org wrote:
Hi,
On Mi, 2015-01-07 at 11:11 +0530, Rahul Sharma wrote:
On Wed, Jan 7, 2015 at 4:17 AM, Pablo Neira Ayuso pa...@netfilter.org
On Mon, 5 Jan 2015 22:09:45 -0500
Peter Hurley pe...@hurleysoftware.com wrote:
Some arches have no need to create unprobed 8250 ports; these phantom
ports are primarily required for ISA ports which have no probe
mechanism or to provide non-operational ports for userspace to
configure (via
On 23/12/2014 00:39, Andy Lutomirski wrote:
The pvclock vdso code was too abstracted to understand easily and
excessively paranoid. Simplify it for a huge speedup.
This opens the door for additional simplifications, as the vdso no
longer accesses the pvti for any vcpu other than vcpu 0.
* Arnaldo Carvalho de Melo a...@kernel.org wrote:
Hi Ingo,
Please consider pulling,
- Arnaldo
The following changes since commit 5b5e76218fbdbb71a01d5480f289ead624232876:
Merge tag 'perf-urgent-for-mingo' of
git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into
Hi Alexandre,
On Mon, 5 Jan 2015 13:06:37 +0100
Alexandre Belloni alexandre.bell...@free-electrons.com wrote:
This patch sets cleans up the system timer driver.
The main goal is to get rid of the mach/ headers dependency. At the same time,
it introduces proper probing and locking (using a
On Tue, Jan 06, 2015 at 12:04:28PM +0100, Vlastimil Babka wrote:
On 12/03/2014 08:52 AM, Joonsoo Kim wrote:
It is not well analyzed that when compaction start and when compaction
finish. With this tracepoint for compaction start/finish condition, I can
find following bug.
Now $(version_h) is include/generated/uapi/linux/version.h.
$(version_h) in MRPROPER_FILES is redundant because it is covered
by include/generated in MRPROPER_DIRS.
Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com
---
Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff
Raimonds Cicans wrote:
https://github.com/ljalves/linux_media/issues/66
If the TBS driver works, why don't you use it?
The WARNING from the kernel log indicates a hardware bug in the PCIe
bridge. Do you have the same card, and do you also get this warning
with kernel 3.16?
I/O virtualization
On 1/6/2015 7:36 PM, David Decotigny wrote:
Interesting. It seems that the band-aid I was proposing is already
obsolete. We could still use the remaining reserved 16 bits to encode
5 more bits per mask (that is: 53 bits / mask total). But if I
understand you, it would allow us to survive only
Hey Dmitry,
On 08-01-15 00:55, Dmitry Torokhov wrote:
On Wed, Jan 07, 2015 at 10:08:42AM +0100, Olliver Schinagl wrote:
From: Olliver Schinagl oli...@schinagl.nl
The gpio document says we should not use unnamed bindings for gpios.
This patch uses the 'led-' prefix to the gpios and updates
On Wed, Jan 07, 2015 at 06:24:39PM +0300, Dmitry Osipenko wrote:
07.01.2015 17:33, Thierry Reding пишет:
On Tue, Dec 09, 2014 at 10:36:50PM +, Paul Walmsley wrote:
Tegra SoCs with 64-bit ARM support don't currently support deep CPU
low-power states in mainline Linux. When this
On Wednesday 07 January 2015 18:04:41 Murali Karicheri wrote:
On 01/07/2015 04:18 PM, Arnd Bergmann wrote:
On Wednesday 07 January 2015 13:49:50 Murali Karicheri wrote:
PCI devices on Keystone doesn't have correct dma_pfn_offset set. This patch
add capability to set the dma configuration
In some cases asm9260 looks similar to iMX2x. One of exceptions is
timer controller. So this patch introduces new driver for this special case.
Signed-off-by: Oleksij Rempel li...@rempel-privat.de
Acked-by: Daniel Lezcano daniel.lezc...@linaro.org
---
drivers/clocksource/Kconfig | 9 ++
The changes done here are already being done somewhere else in code.
- The function msm_init_clock() is also called while doing msm_startup
hence removing.
- msm_set_baud_rate() is anyway called in uart_set_options when it calls
msm_set_termios(). msm_reset() is called when we change the
Hello,
On Tue 06-01-15 16:25:37, Tejun Heo wrote:
blkio cgroup (blkcg) is severely crippled in that it can only control
read and direct write IOs. blkcg can't tell which cgroup should be
held responsible for a given writeback IO and charges all of them to
the root cgroup - all normal write
On Thu, Jan 08, 2015 at 12:25:18PM +0800, Vince Hsu wrote:
On 01/07/2015 10:48 PM, Thierry Reding wrote:
* PGP Signed by an unknown key
On Wed, Jan 07, 2015 at 10:28:29PM +0800, Vince Hsu wrote:
On 04:08:52PM Jan 07, Peter De Schrijver wrote:
On Wed, Jan 07, 2015 at 02:27:10PM +0100,
On Wed, Jan 07, 2015 at 11:58:00PM +0300, Sergei Shtylyov wrote:
Hello.
On 01/07/2015 11:55 AM, Michael S. Tsirkin wrote:
commit 8b38694a2dc8b18374310df50174f1e4376d6824
vhost/net: virtio 1.0 byte swap
had this chunk:
- heads[headcount - 1].len += datalen;
+
On Wed, 7 Jan 2015 23:59:26 +0100
Alexandre Belloni alexandre.bell...@free-electrons.com wrote:
The clock is enabled without being prepared, this leads to:
WARNING: CPU: 0 PID: 1 at drivers/clk/clk.c:889 __clk_enable+0x24/0xa8()
and a non working ethernet interface.
Use
On Thu, Dec 18, 2014 at 10:23:18AM +0200, Heikki Krogerus wrote:
This makes it possible to assign GPIOs at runtime. The
motivation for it is because of need to forward GPIOs from
one device to an other. That feature may be useful for
example with some mfd devices, but initially it is needed
This patch removes the redundant sysfs cacheinfo code by reusing
the newly introduced generic cacheinfo infrastructure through the
commit 246246cbde5e (drivers: base: support cpu cache information
interface to userspace via sysfs)
Signed-off-by: Sudeep Holla sudeep.ho...@arm.com
Cc: Benjamin
On Wed, 2015-01-07 at 23:50 -0800, Davidlohr Bueso wrote:
On Wed, 2015-01-07 at 23:45 -0800, Davidlohr Bueso wrote:
On Thu, 2015-01-08 at 10:27 +0800, Huang Ying wrote:
Cc'ing Peter.
Err, resending with the complete msg.
FYI, we noticed the below changes on
commit
On 01/08/2015 07:57 AM, Aaron Wu wrote:
Rewrite the driver to comply to common style with MMU
Signed-off-by: Aaron Wu aaron...@analog.com
Can you please rephrase the subject into a more complete English
sentence. You may use something like convert driver to use
devm_ioremap_resource()
---
On 01/08/2015 08:13 AM, Wu, Aaron wrote:
Thanks for your comments. I've split it into two parts and submit patches of
V2.
Thanks!
Do you mind if I fix potential bugs with future patches?
Patches, especially bug fixes are always welcome.
Marc
--
Pengutronix e.K. | Marc
Hello,
this patch provides clk support for Alphascale asm9260 SoC.
As was suggested by one of ARM maintainers, I explicitly ask you to
merge this patch :D
Oleksij Rempel (1):
ARM: clk: add clk-asm9260 driver
drivers/clk/Makefile | 1 +
drivers/clk/clk-asm9260.c
On Wed, Jan 7, 2015 at 12:29 AM, Andrew Morton
a...@linux-foundation.org wrote:
On Mon, 24 Nov 2014 11:23:19 + David Drysdale drysd...@google.com wrote:
Fix clashing values for O_PATH and FMODE_NONOTIFY on sparc.
The clashing O_PATH value was added in 5229645bdc35f1cc43eb (vfs: add
Most filesystems prevent truncation of an active swapfile by way of
inode_newsize_ok, called from inode_change_ok. NFS doesn't call either
from nfs_setattr, presumably because most of these checks are expected
to be done server-side. However, the IS_SWAPFILE check can only be done
client-side, and
On Mon, Jan 05, 2015 at 09:41:00AM -0500, Anna Schumaker wrote:
Hi Omar,
On 12/19/2014 10:18 PM, Omar Sandoval wrote:
As with the generic blockdev code, kernel pages shouldn't be dirtied by
the direct I/O path.
Signed-off-by: Omar Sandoval osan...@osandov.com
---
fs/nfs/direct.c
And specify the dependencies between domains in DT?
I think the dependencies could be in the driver. Of course the power
domains are per-SoC data, so really shouldn't be in the DTS either (the
data is all implied by the compatible value) but there's no good way to
get at the clocks and
On Thu, Jan 08, 2015 at 10:04:33AM +0900, Inha Song wrote:
After commit: 6e3f62f0793e (mfd: core: Fix platform-device id generation)
We must set the id base when register a duplicate name of mfd_cell.
If not, duplicate filename error was reported.
- sysfs: cannot create duplicate filename
On Thu, Jan 08, 2015 at 07:41:52AM +, Sudeep Holla wrote:
This patch removes the redundant sysfs cacheinfo code by reusing
the newly introduced generic cacheinfo infrastructure through the
commit 246246cbde5e (drivers: base: support cpu cache information
interface to userspace via sysfs)
On Tue, Jan 06, 2015 at 10:05:39AM +0100, Vlastimil Babka wrote:
On 12/03/2014 08:52 AM, Joonsoo Kim wrote:
It'd be useful to know where the both scanner is start. And, it also be
useful to know current range where compaction work. It will help to find
odd behaviour or problem on
On Thursday 08 January 2015 01:44 PM, Heiko Carstens wrote:
On Thu, Jan 08, 2015 at 07:41:52AM +, Sudeep Holla wrote:
This patch removes the redundant sysfs cacheinfo code by reusing
the newly introduced generic cacheinfo infrastructure through the
commit 246246cbde5e (drivers: base:
This patch series fixes trivial issues in ssd1307fb driver.
Lad, Prabhakar (2):
fbdev: ssd1307fb: set default height if not found in DT node
fbdev: ssd1307fb: check return value while setting offset
drivers/video/fbdev/ssd1307fb.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
this patch sets the default height if its not found in DT.
Signed-off-by: Lad, Prabhakar prabhakar.cse...@gmail.com
---
drivers/video/fbdev/ssd1307fb.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/video/fbdev/ssd1307fb.c b/drivers/video/fbdev/ssd1307fb.c
index
this patch checks the return value of write command while
setting the display offset.
Signed-off-by: Lad, Prabhakar prabhakar.cse...@gmail.com
---
drivers/video/fbdev/ssd1307fb.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/video/fbdev/ssd1307fb.c
On Wed, 2015-01-07 at 23:45 -0800, Davidlohr Bueso wrote:
On Thu, 2015-01-08 at 10:27 +0800, Huang Ying wrote:
Cc'ing Peter.
FYI, we noticed the below changes on
commit c8c06efa8b552608493b7066c234cfa82c47fcea (mm: convert i_mmap_mutex
to rwsem)
Same exact everything, except for
On Tue, Jan 06, 2015 at 12:27:43PM +0100, Vlastimil Babka wrote:
On 12/03/2014 08:52 AM, Joonsoo Kim wrote:
compaction deferring logic is heavy hammer that block the way to
the compaction. It doesn't consider overall system state, so it
could prevent user from doing compaction falsely. In
On Wednesday 07 January 2015 17:37:56 Rob Herring wrote:
On Wed, Jan 7, 2015 at 12:49 PM, Murali Karicheri m-kariche...@ti.com wrote:
+ ret = of_dma_get_range(np, dma_addr, paddr, size);
+ if (ret 0) {
+ dma_addr = offset = 0;
+ size =
On 01/08/2015 09:21 AM, Joonsoo Kim wrote:
Okay. How about adding one more like below?
#define COMPACT_NO_SUITABLE_PAGE
#define COMPACT_NOT_SUITABLE_ZONE
Yeah that would be less confusing.
It will distiguish return value properly.
return COMPACT_CONTINUE;
}
+unsigned long
On 01/08/2015 09:18 AM, Joonsoo Kim wrote:
On Tue, Jan 06, 2015 at 10:05:39AM +0100, Vlastimil Babka wrote:
On 12/03/2014 08:52 AM, Joonsoo Kim wrote:
It'd be useful to know where the both scanner is start. And, it also be
useful to know current range where compaction work. It will help to
Provide CLK support for Alphascale ASM9260 SoC.
Signed-off-by: Oleksij Rempel li...@rempel-privat.de
---
drivers/clk/Makefile | 1 +
drivers/clk/clk-asm9260.c | 359 +
include/dt-bindings/clock/alphascale,asm9260.h | 97
Hello,
this patch provides clocksource support for Alphascale asm9260 SoC.
As was suggested..., I explicitly ask you to merge this patch :D
Oleksij Rempel (1):
ARM: clocksource: add asm9260_timer driver
drivers/clocksource/Kconfig | 9 ++
drivers/clocksource/Makefile| 1 +
On Thu, 2015-01-08 at 16:25 +0800, Fam Zheng wrote:
Applications could use epoll interface when then need to poll a big number of
files in their main loops, to achieve better performance than ppoll(2). Except
for one concern: epoll only takes timeout parameters in microseconds, rather
than
On 2015-01-08 at 07:57:34 +0100, Aaron Wu aaron...@analog.com wrote:
Rewrite the driver to comply to common style with MMU
Signed-off-by: Aaron Wu aaron...@analog.com
---
drivers/net/can/bfin_can.c | 21 -
1 file changed, 8 insertions(+), 13 deletions(-)
diff
Hi Ulf,
Any comment on this change?
Thanks
Pramod
On Tuesday 16 December 2014 07:21 PM, Pramod Gurav wrote:
DMA configuration has been removed from function mmci_dma_setup but the
local mask variable was not removed. This remains unused hence remove
it from the function and operations on it
In preparation of epoll_pwait1, this allows sharing code with coming new
syscall. The new functions use timespec for timeout.
Signed-off-by: Fam Zheng f...@redhat.com
---
fs/eventpoll.c | 136 +
1 file changed, 70 insertions(+), 66
Unlike ppoll(2), which accepts a timespec argument timeout_ts to
specify the timeout, epoll_wait(2) and epoll_pwait(2) expect a
microsecond timeout in int type.
This is an obstacle for applications in switching from ppoll to epoll,
if they want nanosecond resolution in their event loops.
Signed-off-by: Fam Zheng f...@redhat.com
---
arch/x86/syscalls/syscall_32.tbl | 1 +
arch/x86/syscalls/syscall_64.tbl | 1 +
2 files changed, 2 insertions(+)
diff --git a/arch/x86/syscalls/syscall_32.tbl b/arch/x86/syscalls/syscall_32.tbl
index b3560ec..1c863f6 100644
---
[Resend because my script screwed the recipient format, sorry for the noise.]
Applications could use epoll interface when then need to poll a big number of
files in their main loops, to achieve better performance than ppoll(2). Except
for one concern: epoll only takes timeout parameters in
On Wed, Jan 07, 2015 at 07:55:42PM -0800, Alexei Starovoitov wrote:
I'm seeing the same splats... what tree I can pull the fix from ?
None so far. I'll still need a review to apply it to the scsi-queue tree.
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of
On Thu, Jan 08, 2015 at 08:17:59AM +, Lad, Prabhakar wrote:
this patch checks the return value of write command while
setting the display offset.
Signed-off-by: Lad, Prabhakar prabhakar.cse...@gmail.com
Acked-by: Maxime Ripard maxime.rip...@free-electrons.com
Thanks!
Maxime
--
Maxime
On Thu, Jan 08, 2015 at 08:17:58AM +, Lad, Prabhakar wrote:
this patch sets the default height if its not found in DT.
Signed-off-by: Lad, Prabhakar prabhakar.cse...@gmail.com
Acked-by: Maxime Ripard maxime.rip...@free-electrons.com
Thanks!
Maxime
--
Maxime Ripard, Free Electrons
Hi Linus,
allright allright I've been lazy over christmas and New Years.
Here are a few collected pin control fixes eventually, details
in the signed tag.
Please pull it in!
Yours,
Linus Walleij
The following changes since commit b7392d2247cfe6771f95d256374f1a8e6a6f48d6:
Linux 3.19-rc2
And specify the dependencies between domains in DT?
I think the dependencies could be in the driver. Of course the power
domains are per-SoC data, so really shouldn't be in the DTS either (the
data is all implied by the compatible value) but there's no good way to
The clock references
On Wed, Jan 07, 2015 at 09:32:20AM -0800, Paul E. McKenney wrote:
From: Paul E. McKenney paul...@linux.vnet.ibm.com
This commit prevents random compiler optimizations by applying
ACCESS_ONCE() to lockless accesses.
Signed-off-by: Paul E. McKenney paul...@linux.vnet.ibm.com
---
08.01.2015 11:49, Thierry Reding пишет:
I don't like changing this back to syscore_ops since it makes things
less easier to follow. I also don't think that using PMC_SCRATCH41 for
two different purposes is a good thing. There are a couple of
suggestions in my reply to your original patch.
Commit-ID: e7024fc3783317608b8e07048116a72a7d1cd26d
Gitweb: http://git.kernel.org/tip/e7024fc3783317608b8e07048116a72a7d1cd26d
Author: Namhyung Kim namhy...@kernel.org
AuthorDate: Sat, 27 Dec 2014 14:06:29 +0900
Committer: Arnaldo Carvalho de Melo a...@redhat.com
CommitDate: Fri, 2 Jan
Commit-ID: 4093325f829746b88eaf02a5ae3b88a325ea8b75
Gitweb: http://git.kernel.org/tip/4093325f829746b88eaf02a5ae3b88a325ea8b75
Author: Namhyung Kim namhy...@kernel.org
AuthorDate: Tue, 30 Dec 2014 17:47:47 +0900
Committer: Arnaldo Carvalho de Melo a...@redhat.com
CommitDate: Fri, 2 Jan
Commit-ID: b3505208804f3b59150cd77719f01c8b0023a865
Gitweb: http://git.kernel.org/tip/b3505208804f3b59150cd77719f01c8b0023a865
Author: Taesoo Kim tsgat...@gmail.com
AuthorDate: Tue, 30 Dec 2014 22:36:55 -0500
Committer: Arnaldo Carvalho de Melo a...@redhat.com
CommitDate: Fri, 2 Jan 2015
blk_mq_init_queue() returns ERR_PTR() on failure, not NULL.
Signed-off-by: Jürg Billeter j...@bitron.ch
---
drivers/block/null_blk.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/block/null_blk.c b/drivers/block/null_blk.c
index ae9f615..727309c 100644
---
Expand the usage of the struct alloc_context introduced in the previous patch
also for calling try_to_compact_pages(), to reduce the number of its
parameters. Since the function is in different compilation unit, we need to
move alloc_context definition in the shared mm/internal.h header.
With
On Wed, Jan 07, 2015 at 10:14:07PM +, Catalin Marinas wrote:
On 7 January 2015 at 20:53, Russell King - ARM Linux
li...@arm.linux.org.uk wrote:
Now, if I understand Linus correctly, what irks him is when someone
upgrades a kernel on a platform, and some userland breaks. That's
On 01/07/2015 07:36 PM, Karol Wrona wrote:
There was a need for non triggered software buffer type. It can be used when
triggered model does not fit and INDIO_BUFFER_HARDWARE causes confusion because
the data stream can be obtained not directly form hardware backend.
Suggested-by: Jonathan
We are going to make FS shrinkers memcg-aware. To achieve that, we will
have to pass the memcg to scan to the nr_cached_objects and
free_cached_objects VFS methods, which currently take only the NUMA node
to scan. Since the shrink_control structure already holds the node, and
the memcg to scan
Hi,
Kmem accounting of memcg is unusable now, because it lacks slab shrinker
support. That means when we hit the limit we will get ENOMEM w/o any
chance to recover. What we should do then is to call shrink_slab, which
would reclaim old inode/dentry caches from this cgroup. This is what
this patch
This patch adds SHRINKER_MEMCG_AWARE flag. If a shrinker has this flag
set, it will be called per memory cgroup. The memory cgroup to scan
objects from is passed in shrink_control-memcg. If the memory cgroup is
NULL, a memcg aware shrinker is supposed to scan objects from the global
list. Unaware
To make list_lru memcg aware, we need all list_lrus to be kept on a list
protected by a mutex, so that we could sleep while walking over the
list.
Therefore after this change list_lru_destroy may sleep. Fortunately,
there is the only user that calls it from an atomic context - it's
put_super -
Now, to make any list_lru-based shrinker memcg aware we should only
initialize its list_lru as memcg aware. Let's do it for the general FS
shrinker (super_block::s_shrink).
There are other FS-specific shrinkers that use list_lru for storing
objects, such as XFS and GFS2 dquot cache shrinkers, but
The active_nodes mask allows us to skip empty nodes when walking over
list_lru items from all nodes in list_lru_count/walk. However, these
functions are never called from hot paths, so it doesn't seem we need
such kind of optimization there. OTOH, removing the mask will make it
easier to make
On Mon, Dec 22, 2014 at 11:00:16AM -0700, Stephen Warren wrote:
On 12/22/2014 10:27 AM, Dmitry Osipenko wrote:
22.12.2014 19:17, Stephen Warren пишет:
On 12/21/2014 03:52 PM, Dmitry Osipenko wrote:
Commit 7232398abc6a (ARM: tegra: Convert PMC to a driver) changed
tegra_resume()
location
On Thu, Jan 08, 2015 at 12:42:47PM +0300, Dmitry Osipenko wrote:
08.01.2015 11:49, Thierry Reding пишет:
I don't like changing this back to syscore_ops since it makes things
less easier to follow. I also don't think that using PMC_SCRATCH41 for
two different purposes is a good thing. There
Commit-ID: 906451b98b6774042b707a5dcebb6a93dbd14c85
Gitweb: http://git.kernel.org/tip/906451b98b6774042b707a5dcebb6a93dbd14c85
Author: Masami Hiramatsu masami.hiramatsu...@hitachi.com
AuthorDate: Wed, 31 Dec 2014 15:27:47 +0900
Committer: Arnaldo Carvalho de Melo a...@redhat.com
On Wed, Jan 07, 2015 at 05:13:49PM -0800, Sukadev Bhattiprolu wrote:
Description of event parameters from the documentation patch:
Event parameters are a basic way for partial events to be specified in
sysfs with per-event names given to the fields that need to be filled in
when
This patch fix the mmc driver suspend/resume conflict problems,
mmc workqueue will queue mmc_rescan(), and it will call some
pm_runtime_* functions, this will conflict with suspend path sometimes,
and will result in some strange behavior:
Suspend path:
-000 |context_switch(inline)
Hi ,
I am trying to bringup linux in ARMA9 platform. I am getting following crash :
Unhandled fault: alignment exception (0x001) at 0x88042001:
(link_path_walk+0xa4/0x86c)
(path_lookupat+0x54/0x780)
(do_path_lookup+0x1c/0x58)
(user_path_at_empty+0x54/0x88)
(user_path_at+0x10/0x14)
At Tue, 6 Jan 2015 17:49:03 -0800,
Greg Kroah-Hartman wrote:
This is the start of the stable review cycle for the 3.18.2 release.
There are 84 patches in this series, all will be posted as a response
to this one. If anyone has any issues with these being applied, please
let me know.
[CC += Qiaowei Ren, in case they might comment]
Hello Dave,
Thanks for the patch. Quite a number of queries below. Could you
address those and resubmit?
On 12/15/2014 11:52 PM, Dave Hansen wrote:
From: Dave Hansen dave.han...@intel.com
(apologies if this is a duplicate mail, I didn't see my
Changes since v4:
o Documented where struct alloc_context fields change per Michal's suggestion.
o Rebased on next-20150108. Relative improvements went down for code again,
but up for stack. And finally I didn't have to mess with _slowpath inlining
anymore for the comparison as it was already
Introduce struct alloc_context to accumulate the numerous parameters passed
between the alloc_pages* family of functions and get_page_from_freelist().
This excludes gfp_flags and alloc_info, which mutate too much along the way,
and allocation order, which is conceptually different.
The result is
The function prep_new_page() sets almost everything in the struct page of the
page being allocated, except page-pfmemalloc. This is not obvious and has at
least once led to a bug where page-pfmemalloc was forgotten to be set
correctly, see commit 8fb74b9fb2b1 (mm: compaction: partially revert
The function next_zones_zonelist() returns zoneref pointer, as well as zone
pointer via extra parameter. Since the latter can be trivially obtained by
dereferencing the former, the overhead of the extra parameter is unjustified.
This patch thus removes the zone parameter from
Kees Cook schreef op 6/01/2015 om 0:47:
Just to make sure I understand this better, Monitor is the initial
process, and [0] and [1] are separate threads within that process? I
would expect B to have Monitor as its parent after A died, but I must
be misunderstanding something.
Regardless, your
We need a stable value of memcg_nr_cache_ids in kmem_cache_create()
(memcg_alloc_cache_params() wants it for root caches), where we only
hold the slab_mutex and no memcg-related locks. As a result, we have to
update memcg_nr_cache_ids under the slab_mutex, which we can only take
on the slab's side
901 - 1000 of 1344 matches
Mail list logo