Re: [RFC PATCH v13] sys_membarrier(): system/process-wide memory barrier (x86)

2015-03-17 Thread josh
hen means you can enable/disable the entire file in the Makefile rather than using an #ifdef in the .c file. - Josh Triplett -- 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.tux.org/lkml/

Re: [RFC PATCH v14] sys_membarrier(): system/process-wide memory barrier (x86)

2015-03-18 Thread josh
r implementation has a much slower grace period than signal > and memory barrier schemes. Doesn't the query flag allow you to find out in advance rather than dynamically within the reader? What's the reader performance if you hardcode availability of membarrier? - Josh Triplett -- To u

Re: [RFC PATCH v14] sys_membarrier(): system/process-wide memory barrier (x86)

2015-03-18 Thread josh
global variable load+test > from the reader fast path ? Right. You said that "The dynamic sys_membarrier availability check adds some overhead to the read-side compared to the signal-based scheme"; I wondered how much. - Josh Triplett -- To unsubscribe from this list: send the line

Re: [PATCH 6/6] clone4: Introduce new CLONE_FD flag to get task exit notification via fd

2015-03-13 Thread josh
On Fri, Mar 13, 2015 at 05:21:13PM +0100, Oleg Nesterov wrote: > Josh, > > I'll certainly try to read this series, but not before next week. Thanks for looking at it. > but a couple of nits right now. > > On 03/12, Josh Triplett wrote: > > > > When passed

Re: [PATCH 0/6] CLONE_FD: Task exit notification via file descriptor

2015-03-13 Thread josh
On Fri, Mar 13, 2015 at 02:16:07PM -0700, Thiago Macieira wrote: > On Friday 13 March 2015 12:42:52 Josh Triplett wrote: > > > Hi Josh, > > > > > > From the overall description (i.e. I haven't looked at the code yet) > > > this looks very interesti

Re: [PATCH 0/6] CLONE_FD: Task exit notification via file descriptor

2015-03-13 Thread josh
On Fri, Mar 13, 2015 at 02:33:44PM -0700, Andy Lutomirski wrote: > On Fri, Mar 13, 2015 at 12:42 PM, Josh Triplett wrote: > > On Fri, Mar 13, 2015 at 04:05:29PM +, David Drysdale wrote: > >> On Fri, Mar 13, 2015 at 1:40 AM, Josh Triplett > >> wrote: > >>

Re: [PATCH 6/6] clone4: Introduce new CLONE_FD flag to get task exit notification via fd

2015-03-13 Thread josh
process, which we'd like to avoid. (We don't want to have magic "reap on read(2)" semantics, because among other things, what if we add a means in the future to get an additional file descriptor corresponding to an existing process?) - Josh Triplett -- To unsubscri

Re: [PATCH 2/6] x86: Opt into HAVE_COPY_THREAD_TLS, for both 32-bit and 64-bit

2015-03-13 Thread josh
On Fri, Mar 13, 2015 at 03:01:16PM -0700, Andy Lutomirski wrote: > On Thu, Mar 12, 2015 at 6:40 PM, Josh Triplett wrote: > > For 32-bit userspace on a 64-bit kernel, this requires modifying > > stub32_clone to actually swap the appropriate arguments to match > > CONFIG_CL

Re: [PATCH 6/6] clone4: Introduce new CLONE_FD flag to get task exit notification via fd

2015-03-13 Thread josh
t; avoid. (We don't want to have magic "reap on read(2)" semantics, > > because among other things, what if we add a means in the future to get > > an additional file descriptor corresponding to an existing process?) > > Do we not already have a state "dead, successfully

Re: [PATCH 2/6] x86: Opt into HAVE_COPY_THREAD_TLS, for both 32-bit and 64-bit

2015-03-13 Thread josh
On Fri, Mar 13, 2015 at 03:38:31PM -0700, Andy Lutomirski wrote: > On Fri, Mar 13, 2015 at 3:31 PM, wrote: > > On Fri, Mar 13, 2015 at 03:01:16PM -0700, Andy Lutomirski wrote: > >> On Thu, Mar 12, 2015 at 6:40 PM, Josh Triplett > >> wrote: > >> > For 32

Re: [PATCH 2/6] x86: Opt into HAVE_COPY_THREAD_TLS, for both 32-bit and 64-bit

2015-03-13 Thread josh
M -0700, Andy Lutomirski wrote: > >> >> On Thu, Mar 12, 2015 at 6:40 PM, Josh Triplett > >> >> wrote: > >> >> > For 32-bit userspace on a 64-bit kernel, this requires modifying > >> >> > stub32_clone to actually swap the appropriate

Re: [PATCH 01/32] do_fork(): Rename 'stack_size' argument to reflect actual use

2015-03-13 Thread josh
which the kernel thread executes. Hence, rename it to > 'kthread_arg'. That's not the only use of stack_size. Take a look at the clone2 system call (very minimally documented in the clone manpage) and the implementation of copy_thread on ia64, which does use stack_size in the non-

Re: [PATCH v3] kernel: Conditionally support non-root users, groups and capabilities

2015-02-09 Thread josh
superior capability > > currently > > - * available for use, false if not. > > - * > > - * This sets PF_SUPERPRIV on the task if the capability is available on the > > - * assumption that it's about to be used. > > - */ > > -bool capable(int cap)

Re: [PATCH v2] kernel: Conditionally support non-root users, groups and capabilities

2015-01-29 Thread josh
ties, such as > > setuid, > > + setgid, and capset. > > + > > + If unsure, say Y here. > > I think it would be clearer to use positive instead of negative logic. > What about calling the option "MULTIUSER" instead of "NON_ROOT"? Nice n

Re: [PATCH v2] kernel: Conditionally support non-root users, groups and capabilities

2015-01-29 Thread josh
> > Also, groups.c is compiled out completely. > > > > This change saves about 25 KB on a defconfig build. > > > > The kernel was booted in Qemu. All the common functionalities work. Adding > > users/groups is not possible, failing with -ENOSYS. > > > > Bloat-

Re: [PATCH v2] kernel: Conditionally support non-root users, groups and capabilities

2015-01-30 Thread josh
lobytes; you're also going to want many of the kernel facilities for sandboxing code. The kinds of applications we're talking about here run entirely in one binary, serving a few very narrow functions. We're not talking "automobile IVI system" here; we're talking &qu

Re: [PATCH 2/2] mm: fix undefined reference to `.kernel_map_pages' on PPC builds

2015-01-20 Thread josh
On Tue, Jan 20, 2015 at 02:02:00PM -0600, Kim Phillips wrote: > It's possible to configure DEBUG_PAGEALLOC without PAGE_POISONING on > ppc. Fix building the generic kernel_map_pages() implementation in > this case: > > LD init/built-in.o > mm/built-in.o: In function `free_pages_prepare': >

Re: [PATCH RFC 0/6] epoll: Introduce new syscall "epoll_mod_wait"

2015-01-20 Thread josh
> > > > /* Output field, will be set to the return code once this > >* command is executed by kernel */ > > int error; > >}; > > I would add an extra u32 at the end so that the structure size will b

Re: [PATCH] kernel: Conditionally support non-root users, groups and capabilities

2015-01-21 Thread josh
ather harder than just dropping the syscalls, as some of its other functions are exported to the rest of the kernel as well, but it's doable. - Josh Triplett -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kern

Re: [PATCH RFC tip/core/rcu 0/5] Expedited grace periods encouraging normal ones

2015-06-30 Thread josh
latency, but then suddenly start performing well because an unrelated task starts hammering expedited grace periods. This seems particularly likely during boot, for instance, where RCU grace periods can be a significant component of boot time (when you're trying to boot to userspace in small fra

Re: [PATCH RFC tip/core/rcu 0/5] Expedited grace periods encouraging normal ones

2015-06-30 Thread josh
ral; I just don't relish the future "feels less responsive" bug reports that take a long time to track down and turn out to be "this completely unrelated driver was loaded and started using expedited grace periods". Then again, perhaps the more relevant concern would be why d

Re: [PATCH RFC tip/core/rcu 0/5] Expedited grace periods encouraging normal ones

2015-07-01 Thread josh
tation will reduce the expedited-grace-period overhead still > further as a fraction of the total. Consider the case of container-based systems, calling mount as part of container setup and umount as part of container teardown. And those workloads are often sensitive to latency, not throughput

Re: [PATCH RFC tip/core/rcu 0/5] Expedited grace periods encouraging normal ones

2015-07-01 Thread josh
> > Really??? > > > > I am not concerned about this one. After all, one of the first things > > that people do for OS-jitter-sensitive workloads is to get rid of > > binary blobs. > > I know two users who have no choice but to use the nvidia driver with &g

Re: [PATCHv2 1/1] Documentation: describe how to add a system call

2015-07-31 Thread josh
On Fri, Jul 31, 2015 at 11:56:06AM -0700, Kees Cook wrote: > On Thu, Jul 30, 2015 at 6:02 PM, Josh Triplett wrote: > > On Thu, Jul 30, 2015 at 01:03:43PM -0700, Kees Cook wrote: > >> On Thu, Jul 30, 2015 at 12:04 PM, Josh Triplett > >> wrote: > >> > O

Re: [PATCHv2 1/1] Documentation: describe how to add a system call

2015-07-31 Thread josh
On Fri, Jul 31, 2015 at 02:19:29PM -0700, Andy Lutomirski wrote: > On Fri, Jul 31, 2015 at 1:59 PM, wrote: > > Agreed. I think the proposal above would be a net improvement, but > > ideally you'd want something that's annotated and generates automatic > > marshalling code. > > > > I assume this

Re: [PATCH 3/3] printk: implement support for extended console drivers

2015-06-29 Thread josh
its added to printk don't get compiled in unless CONFIG_NETCONSOLE=y. - Josh Triplett -- 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.tux.org/lkml/

Re: [PATCH 3/3] printk: implement support for extended console drivers

2015-06-29 Thread josh
if > > OIC, hmmm... yeah, I think doing it on-demand would be better but will > try to find out which way is better. Allocating the buffer dynamically is fine, but in that case the code to do so should ideally be compiled out. Since printk is used by almost *all* kernels, while netconsole

Re: [Ksummit-discuss] [BELATED CORE TOPIC] context tracking / nohz / RCU state

2015-08-11 Thread josh
on to the above requirements, we also want to ensure that the kernel entry/exit fast paths are as optimized as possible; everyone wants to hook those, and very few things actually should. - Josh Triplett -- 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.tux.org/lkml/

Re: [Ksummit-discuss] [PATCH v3] CodingStyle: Inclusive Terminology

2020-07-13 Thread josh
On Mon, Jul 13, 2020 at 10:02:24AM +0200, Takashi Iwai wrote: > On Wed, 08 Jul 2020 20:14:27 +0200, > Dan Williams wrote: > > > > +Recommended replacements for 'blacklist/whitelist' are: > > +'denylist / allowlist' > > +'blocklist / passlist' > > I started looking through the tree now and

Re: [Ksummit-discuss] [PATCH v3] CodingStyle: Inclusive Terminology

2020-07-11 Thread josh
odore Ts'o > Signed-off-by: Shuah Khan > Signed-off-by: Dan Carpenter > Signed-off-by: Kees Cook > Signed-off-by: Olof Johansson > Signed-off-by: Jonathan Corbet > Signed-off-by: Chris Mason > Signed-off-by: Greg Kroah-Hartman > Signed-off-by: Dan Williams Thank you for working on this, Dan! Reviewed-by: Josh Triplett

[RFC v2 1/1] RTL8712 alignment bug in 3.6 and up on ARMV5

2012-11-26 Thread Josh Coombs
I've been banging on my test setup for the past week. I haven't tracked down the cause yet, but something in my prior build system results in this problem being masked with some builds. Doing pure vanilla builds from git I'm able to reproduce with 3.6 and the 3.7-rc series reliably. Support for

Re: [PATCH] perf tools: fix build for various architectures

2012-11-27 Thread Josh Boyer
t to Ingo that should fix the build issues on all architectures in a more generic way. See: http://article.gmane.org/gmane.linux.kernel.cross-arch/15974 I'm really hoping that gets into Linus' tree ASAP or 3.7 will ship with a broken perf on non-x86. josh -- To unsubscribe from this list

Re: [PATCH] block: Restore /proc/partitions to not display non-partitionable removable devices

2012-11-27 Thread Josh Hunt
ping? On 11/19/2012 08:56 PM, Josh Hunt wrote: We found with newer kernels we started seeing the cdrom device showing up in /proc/partitions, but it was not there before. Looking into this I found that commit d27769ec... block: add GENHD_FL_NO_PART_SCAN introduces this change in behavior. It&#

Re: [GIT PULL 0/8] perf/urgent fixes

2012-11-28 Thread Josh Boyer
perf build for x86 with UAPI disintegration applied > > Sukadev Bhattiprolu (1): > perf powerpc: Use uapi/unistd.h to fix build error > > Xiao Guangrong (2): > perf kvm: Rename perf_kvm to perf_kvm_stat > perf kvm: Fix building perf kvm on non x86 arches I prob

[PATCH] ARM: sunxi: add missing include for mdelay()

2012-11-29 Thread Josh Cartwright
CC arch/arm/mach-sunxi/sunxi.o ./arch/arm/mach-sunxi/sunxi.c: In function 'sunxi_restart': ./arch/arm/mach-sunxi/sunxi.c:55:3: error: implicit declaration of function 'mdelay' [-Werror=implicit-function-declaration] Signed-off-by: Josh Cartwright --- Fixes multiplatf

[PATCH] HID: usbhid: quirk for Realtek Multi-card reader

2013-03-18 Thread Josh Boyer
This device has an odd HID entry and causes a 10 second delay in boot. Add this device to the quirks list with HID_QUIRK_NO_INIT_REPORTS. This fixes Red Hat bugzilla https://bugzilla.redhat.com/show_bug.cgi?id=806587 Signed-off-by: Josh Boyer --- drivers/hid/hid-ids.h | 3

[PATCH] HID: usbhid: quirk for MSI GX680R led panel

2013-03-18 Thread Josh Boyer
This keyboard backlight device causes a 10 second delay to boot. Add it to the quirk list with HID_QUIRK_NO_INIT_REPORTS. This fixes Red Hat bugzilla https://bugzilla.redhat.com/show_bug.cgi?id=907221 Signed-off-by: Josh Boyer --- drivers/hid/hid-ids.h | 3 +++ drivers/hid/usbhid

Re: [PATCH] HID: usbhid: quirk for Realtek Multi-card reader

2013-03-18 Thread Josh Boyer
On Mon, Mar 18, 2013 at 02:52:32PM +0100, Jiri Kosina wrote: > On Mon, 18 Mar 2013, Josh Boyer wrote: > > > This device has an odd HID entry > > I can't really say I understand this portion of the changelog. I just took it from what Hans said in the bug. I believe I m

Re: [PATCH] HID: usbhid: quirk for MSI GX680R led panel

2013-03-18 Thread Josh Boyer
On Mon, Mar 18, 2013 at 02:54:58PM +0100, Jiri Kosina wrote: > On Mon, 18 Mar 2013, Josh Boyer wrote: > > > This keyboard backlight device causes a 10 second delay to boot. Add it > > to the quirk list with HID_QUIRK_NO_INIT_REPORTS. > > Applied, thanks. Ugh. Typo in

[PATCH v2] HID: usbhid: quirk for MSI GX680R led panel

2013-03-18 Thread Josh Boyer
This keyboard backlight device causes a 10 second delay to boot. Add it to the quirk list with HID_QUIRK_NO_INIT_REPORTS. This fixes Red Hat bugzilla https://bugzilla.redhat.com/show_bug.cgi?id=907221 Signed-off-by: Josh Boyer --- v2: Fix typo in vendor define drivers/hid/hid-ids.h

Re: [PATCH 4/4] binfmt_elf: Elf executable signature verification

2013-03-18 Thread Josh Boyer
ouple things wrong with it. 1) The help text isn't helpful. It could definitely be more verbose and should probably point to something in Documentation/ that describes what this whole thing is. 2) The select mechanism is horrible. I would really like to see this option use "depends on&qu

Re: [PATCH 10/12] acpi: Ignore acpi_rsdp kernel parameter in a secure boot environment

2013-03-19 Thread Josh Boyer
On Tue, Mar 19, 2013 at 04:47:27PM +0800, Dave Young wrote: > On 03/19/2013 05:32 AM, Matthew Garrett wrote: > > From: Josh Boyer > > > > This option allows userspace to pass the RSDP address to the kernel. This > > could potentially be used to circumvent the secu

[PATCH v2] acpi: Ignore acpi_rsdp kernel parameter in a secure boot environment

2013-03-19 Thread Josh Boyer
here. We ignore the setting if we are booted in Secure Boot mode. Signed-off-by: Josh Boyer --- v2: Actually send it to Matthew this time drivers/acpi/osl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/acpi/osl.c b/drivers/acpi/osl.c index 586e7e9..8950454

Re: [PATCH] mm/x86: Patch out arch_flush_lazy_mmu_mode() when running on bare metal

2013-03-20 Thread Josh Boyer
On Wed, Mar 20, 2013 at 06:53:55AM -0700, Boris Ostrovsky wrote: > > - jwbo...@redhat.com wrote: > > > On Wed, Mar 13, 2013 at 09:25:44AM -0400, Boris Ostrovsky wrote: > > > On 03/01/2013 07:14 AM, Josh Boyer wrote: > > > >On Thu, Feb 28, 2013 at 04

Re: Problems with late 3.8-rc5 and 3.8-rc6 on i686

2013-02-07 Thread Josh Boyer
config it gets flipped on regardless. It's either that or the weird "default !EXPERT" causing it to be enabled even when the CONFIG_EXPERT option is not set. Anyway, still seems to me that systemd/rtkit-daemon should be _checking_ to see if that feature is present instead of assum

Odd ENOMEM being returned in 3.8-rcX

2013-02-07 Thread Josh Boyer
uldn't while I'm off debugging. Thoughts/tips would be appreciated. josh -- 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.tux.org/lkml/

Re: Odd ENOMEM being returned in 3.8-rcX

2013-02-07 Thread Josh Boyer
On Thu, Feb 07, 2013 at 02:15:02PM -0800, Andrew Morton wrote: > On Thu, 7 Feb 2013 16:57:42 -0500 > Josh Boyer wrote: > > > Hi All, > > > > We've hit a weird error in Fedora using the 3.8-rcX kernels. It seems > > the mock tool is getting back ENO

Re: Odd ENOMEM being returned in 3.8-rcX

2013-02-08 Thread Josh Boyer
On Thu, Feb 07, 2013 at 07:35:01PM -0500, Josh Boyer wrote: > On Thu, Feb 07, 2013 at 02:15:02PM -0800, Andrew Morton wrote: > > On Thu, 7 Feb 2013 16:57:42 -0500 > > Josh Boyer wrote: > > > > > Hi All, > > > > > > We've hit a weird error in

Re: Odd ENOMEM being returned in 3.8-rcX

2013-02-08 Thread Josh Boyer
On Fri, Feb 08, 2013 at 01:19:49PM -0500, Josh Boyer wrote: > On Thu, Feb 07, 2013 at 07:35:01PM -0500, Josh Boyer wrote: > > On Thu, Feb 07, 2013 at 02:15:02PM -0800, Andrew Morton wrote: > > > On Thu, 7 Feb 2013 16:57:42 -0500 > > > Josh Boyer w

Re: Odd ENOMEM being returned in 3.8-rcX

2013-02-08 Thread Josh Boyer
On Fri, Feb 08, 2013 at 12:13:09PM -0800, Eric W. Biederman wrote: > Josh Boyer writes: > >> Right, agreed. As I said, I think that is mostly a secondary issue. > >> Hopefully it will be easy to fix once we figure out why we're getting > >> the ENOMEM error

Re: Odd ENOMEM being returned in 3.8-rcX

2013-02-08 Thread Josh Boyer
On Fri, Feb 08, 2013 at 12:36:08PM -0800, Eric W. Biederman wrote: > Josh Boyer writes: > >> OK. I've bisected this down to: > >> > >> 50804fe3737ca6a5942fdc2057a18a8141d00141 is the first bad commit > >> commit 50804fe3737ca6a5942fdc2057a18a8141d001

Re: [PATCH] x86: Lock down MSR writing in secure boot

2013-02-08 Thread Josh Boyer
7;s a "special" cap and I have no idea how acceptable something like that would be. Really though, the main issue is that you cannot introduce new caps to enforce finer grained access without breaking something. josh -- To unsubscribe from this list: send the line "unsubscribe

Re: Odd ENOMEM being returned in 3.8-rcX

2013-02-08 Thread Josh Boyer
On Fri, Feb 08, 2013 at 12:45:47PM -0800, Eric W. Biederman wrote: > Josh Boyer writes: > > > < Two emails fly past each other in the night > > > Yep. > > >> My best guess in some dark corner of mock has untested code to unshare a > >> pid namespace

Re: Odd ENOMEM being returned in 3.8-rcX

2013-02-08 Thread Josh Boyer
: "Eric W. Biederman" Tested-by: Josh Boyer > --- > kernel/pid.c |2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/kernel/pid.c b/kernel/pid.c > index de9af60..f2c6a68 100644 > --- a/kernel/pid.c > +++ b/kernel/pid.c > @@ -331,7 +33

[PATCH] pstore: Create a convenient mount point for pstore

2013-02-11 Thread Josh Boyer
s will put pstore on par with things like cgroups and efivarfs. Signed-off-by: Josh Boyer --- Documentation/ABI/testing/pstore | 10 +- fs/pstore/inode.c| 18 +- 2 files changed, 22 insertions(+), 6 deletions(-) diff --git a/Documentation/ABI/testin

Stable kernel 3.8.4/3.9-rc3 breaks PNP serial port

2013-04-02 Thread Josh Boyer
is a BIOS bug from InsydeH2O and that the port is bogus in that case, but we have something similar here with an AMI UEFI implementation (Version: 0406 Release Date: 06/06/2012) where the port isn't bogus. I'm not sure exactly what the solution should be here. Any thoughts?

Re: systemtap broken by removal of register_timer_hook

2013-04-03 Thread Josh Stone
On 04/03/2013 07:44 AM, Frank Ch. Eigler wrote: > Hi - > > On Wed, Apr 03, 2013 at 02:49:53PM +0200, Frederic Weisbecker wrote: > >> Sounds good, would you like to propose a version? We are also >> interested in a timer tick event tracepoint for dynticks debugging. > > How about this? > > Autho

Re: linux-next: manual merge of the tty tree with the input tree

2013-01-28 Thread Josh Triplett
cept that it does not. Are you confusing SERIO with SERIAL by any > chance? A few serial drivers don't actually need the TTY layer. However, most do, including many that don't obviously appear to at first glance. For instance, MOUSE_PS2 doesn't *appear* to need TTY, but with

Re: linux-next: manual merge of the tty tree with the input tree

2013-01-28 Thread Josh Triplett
On Mon, Jan 28, 2013 at 04:23:57PM -0800, Dmitry Torokhov wrote: > On Tue, Jan 29, 2013 at 10:59:17AM +1100, Josh Triplett wrote: > > On Mon, Jan 28, 2013 at 02:44:43PM -0800, Dmitry Torokhov wrote: > > > On Mon, Jan 28, 2013 at 02:09:31PM -0800, Joe Millenbach wrote: > >

Re: [PATCH] TTY: do not reset master's packet mode

2013-02-01 Thread Josh Boyer
11/223 > References: https://bugzilla.redhat.com/show_bug.cgi?id=504703 > References: https://bugzilla.novell.com/show_bug.cgi?id=797042 Shouldn't this be CC'd to stable? josh -- 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.tux.org/lkml/

Re: [GIT PULL] uprobes: pre-filtering

2013-01-24 Thread Josh Stone
On 01/24/2013 07:40 AM, Oleg Nesterov wrote: > I'll try to implement the pid-base filtering at least for > tracing/uprobe_events, but this needs a time. Not only I am not familiar > with this code, I am not sure how this interface should actually look. > And I agree, perf should be able to use it s

Re: [tip:x86/debug] x86/EFI: Properly init-annotate BGRT code

2013-01-24 Thread Josh Triplett
On Thu, Jan 24, 2013 at 12:34:21PM -0800, tip-bot for Jan Beulich wrote: > Commit-ID: 13f0e4d2b9e2209f13d5a4122478eb79e6136870 > Gitweb: http://git.kernel.org/tip/13f0e4d2b9e2209f13d5a4122478eb79e6136870 > Author: Jan Beulich > AuthorDate: Fri, 23 Nov 2012 16:30:07 + > Committer: Ing

Re: [PATCH] fbcon: fix locking harder

2013-01-25 Thread Josh Boyer
lie Linus might not be taking this for 3.8 because of lack of testing, but that doesn't mean the problems don't exist in 3.8 (and older). Maybe throw a CC for stable on the patch? That way it works its way back when it does get merged. josh -- To unsubscribe from this list: send the li

Re: [tip:x86/debug] x86/EFI: Properly init-annotate BGRT code

2013-01-25 Thread Josh Triplett
On Fri, Jan 25, 2013 at 07:45:42AM +, Jan Beulich wrote: > >>> On 24.01.13 at 23:28, Josh Triplett wrote: > > On Thu, Jan 24, 2013 at 12:34:21PM -0800, tip-bot for Jan Beulich wrote: > >> Commit-ID: 13f0e4d2b9e2209f13d5a4122478eb79e6136870 > >> Gitweb

Re: [tip:x86/debug] x86/EFI: Properly init-annotate BGRT code

2013-01-25 Thread Josh Triplett
On Fri, Jan 25, 2013 at 07:36:57PM +0100, Ingo Molnar wrote: > > * Josh Triplett wrote: > > > On Fri, Jan 25, 2013 at 07:45:42AM +, Jan Beulich wrote: > > > >>> On 24.01.13 at 23:28, Josh Triplett wrote: > > > > On Thu, Jan 24, 2013 at 12

Re: [PATCH tip/core/rcu 4/4] rcu: Make rcutorture's shuffler task shuffle recently added tasks

2013-01-27 Thread Josh Triplett
if (barrier_cbs_tasks[i]) > + set_cpus_allowed_ptr(barrier_cbs_tasks[i], > + shuffle_tmp_mask); > + if (barrier_task) > + set_cpus_allowed_ptr(barrier_task, shuffle_tmp_mask); The r

Re: [PATCH tip/core/rcu 2/2] rcu: Trace callback acceleration

2013-01-27 Thread Josh Triplett
You probably don't want to use --chain-reply-to; that makes patch N a reply to patch N-1 rather than to the cover letter, which creates much deeper and harder to follow threads. - Josh Triplett -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body

Re: [PATCH tip/core/rcu 1/2] rcu: Provide RCU CPU stall warnings for tiny RCU

2013-01-27 Thread Josh Triplett
pain recently. Therefore, this commit > adds RCU CPU stall warnings to tiny RCU if RCU_TRACE=y. This keeps > the memory footprint small, while still enabling CPU stall warnings > in kernels built to enable them. > > Updated to include Josh Triplett's suggested use of RCU_S

Re: [PATCH tip/core/rcu 2/2] rcu: Allow TREE_PREEMPT_RCU on UP systems

2013-01-27 Thread Josh Triplett
ween TINY_PREEMPT_RCU and TREE_PREEMPT_RCU > are quite small compared to the memory footprint of CONFIG_PREEMPT. > > This commit therefore takes a first step towards eliminating > TINY_PREEMPT_RCU by allowing TREE_PREEMPT_RCU to be configured on !SMP > systems. > > Signe

Re: [PATCH tip/core/rcu 0/2] v2 Tiny RCU changes for 3.9

2013-01-27 Thread Josh Triplett
with a suggestion; with that change, Reviewed-by: Josh Triplett for the whole series. - Josh Triplett -- 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/majordo

Re: [ 00/58] 3.7.10-stable review

2013-02-26 Thread Josh Boyer
60062 They aren't in Linus' tree yet. They can't go into -stable until they are. > Hmm. Seems to be missing stable tag and CC. David? He was already asked about this earlier. Things are queued and working through the process. josh -- To unsubscribe from this list: send the li

Re: [PATCH] kmsg: Honor dmesg_restrict sysctl on /dev/kmsg

2013-02-27 Thread Josh Boyer
On Wed, Feb 27, 2013 at 09:54:27AM -0800, Kees Cook wrote: > On Fri, Feb 22, 2013 at 01:18:57PM -0500, Josh Boyer wrote: > > Originally, the addition of dmesg_restrict covered both the syslog > > method of accessing dmesg, as well as /dev/kmsg itself. This was done &g

Re: [PATCH] kmsg: Honor dmesg_restrict sysctl on /dev/kmsg

2013-02-27 Thread Josh Boyer
On Wed, Feb 27, 2013 at 10:05:47AM -0800, Kees Cook wrote: > Hi, > > On Fri, Feb 22, 2013 at 01:18:57PM -0500, Josh Boyer wrote: > > Originally, the addition of dmesg_restrict covered both the syslog > > method of accessing dmesg, as well as /dev/kmsg itself. This was d

Re: [PATCH] kmsg: Honor dmesg_restrict sysctl on /dev/kmsg

2013-02-27 Thread Josh Boyer
ss through check_syslog_permissions(), though. Then this wouldn't > > have happened. That might actually be the right way to clean this up, > > but I'd like to see Eric's thoughts first. > > How about something like this? I think this looks pretty good. Much c

Re: [git pull] drm merge for 3.9-rc1

2013-02-28 Thread Josh Boyer
On Thu, Feb 28, 2013 at 10:09 AM, Alex Deucher wrote: > On Thu, Feb 28, 2013 at 8:44 AM, Josh Boyer wrote: >> On Thu, Feb 28, 2013 at 8:38 AM, Alex Deucher wrote: >>>>>>> ca57802e521de54341efc8a56f70571f79ffac72 is the first bad commit >>>>>> >

Re: [git pull] drm merge for 3.9-rc1

2013-02-28 Thread Josh Boyer
On Thu, Feb 28, 2013 at 10:15 AM, Josh Boyer wrote: > On Thu, Feb 28, 2013 at 10:09 AM, Alex Deucher wrote: >> On Thu, Feb 28, 2013 at 8:44 AM, Josh Boyer wrote: >>> On Thu, Feb 28, 2013 at 8:38 AM, Alex Deucher wrote: >>>>>>>> ca57802e521de54341efc8

Re: [PATCH] mm/x86: Patch out arch_flush_lazy_mmu_mode() when running on bare metal

2013-02-28 Thread Josh Boyer
nce lazy MMU is not used on bare metal we can patch away > > arch_flush_lazy_mmu_mode() so that it is never called in such > > environment. > > > > Signed-off-by: Boris Ostrovsky > > Looks straight-forward enough to me. > > Acked-by: Borislav Petkov I'

Re: [PATCH] mm/x86: Patch out arch_flush_lazy_mmu_mode() when running on bare metal

2013-02-28 Thread Josh Boyer
?l=xen-devel&m=136206183814547&w=2 > > so that arch_flush_lazy_mmu_mode() has at least one caller on x86_64. Yeah, we already have that applied. It stops crashes in xen environments so we pulled it in as a bugfix. Thanks though! josh -- To unsubscribe from this list: send the line "

[PATCH] bluetooth: Add support for atheros 04ca:3004 device to ath3k

2013-02-19 Thread Josh Boyer
...@mail.ru Signed-off-by: Josh Boyer --- drivers/bluetooth/ath3k.c | 2 ++ drivers/bluetooth/btusb.c | 1 + 2 files changed, 3 insertions(+) diff --git a/drivers/bluetooth/ath3k.c b/drivers/bluetooth/ath3k.c index 33c9a44..b9908dd 100644 --- a/drivers/bluetooth/ath3k.c +++ b/drivers/bluetooth/ath3k.c

Re: [PATCH 10/15] acpi: Ignore acpi_rsdp kernel parameter in a secure boot environment

2013-02-20 Thread Josh Boyer
On Sun, Feb 17, 2013 at 05:00:23PM +0800, Dave Young wrote: > On Tue, Jan 29, 2013 at 12:42 AM, Matthew Garrett > wrote: > > From: Josh Boyer > > > > This option allows userspace to pass the RSDP address to the kernel. This > > could potentially be used to circumve

[PATCH] kmsg: Honor dmesg_restrict sysctl on /dev/kmsg

2013-02-22 Thread Josh Boyer
d-off-by: Josh Boyer --- kernel/printk.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/kernel/printk.c b/kernel/printk.c index f24633a..398ef9a 100644 --- a/kernel/printk.c +++ b/kernel/printk.c @@ -615,6 +615,9 @@ static int devkmsg_open(struct inode *inode, struct file *file) s

Re: very strange dependencies on CONFIG_EXPERT=n in kernel 3.8

2013-03-12 Thread Josh Triplett
[Please don't top-post.] On Tue, Mar 12, 2013 at 03:52:24PM +0100, Konrad Vrba wrote: > On 3/11/13, Josh Triplett wrote: > > On Sun, Mar 10, 2013 at 04:14:27PM +0100, Konrad Vrba wrote: > >> I have noticed that CONFIG_EXPERT=n makes the following options in the > >&

Re: [PATCH] mm/x86: Patch out arch_flush_lazy_mmu_mode() when running on bare metal

2013-03-13 Thread Josh Boyer
On Wed, Mar 13, 2013 at 09:25:44AM -0400, Boris Ostrovsky wrote: > On 03/01/2013 07:14 AM, Josh Boyer wrote: > >On Thu, Feb 28, 2013 at 04:52:20PM -0800, H. Peter Anvin wrote: > >>On 02/28/2013 04:42 PM, Josh Boyer wrote: > >>>On Fri, Mar 01, 2013 at 01:36:29A

NULL pointer dereference in ext4_superblock_csum_set with mounted filesystem

2013-03-13 Thread Josh Triplett
I frequently test kernel changes by booting them with kvm's -kernel option, with -hda pointing to my host system's root filesystem, and -snapshot to prevent writing to (and likely corrupting) that root filesystem. I tried this with a kernel built from git commit 7c6baa304b841673d3a55ea4fcf9a5cbf7a

Re: NULL pointer dereference in ext4_superblock_csum_set with mounted filesystem

2013-03-13 Thread Josh Triplett
On Wed, Mar 13, 2013 at 03:01:41PM -0400, Theodore Ts'o wrote: > On Wed, Mar 13, 2013 at 11:59:13AM -0700, Josh Triplett wrote: > > I frequently test kernel changes by booting them with kvm's -kernel > > option, with -hda pointing to my host system's root filesystem

[PATCH] fs: Make binfmt support for #! scripts modular and removable

2013-03-13 Thread Josh Triplett
don't need scripts before mounting the root filesystem can build this as a module. Signed-off-by: Josh Triplett --- Note when testing this that many shells implement support for shell scripts themselves, so try it with something like #!/bin/cat instead. fs/Kconfig.binfmt | 14

[PATCH] fs: Don't compile in drop_caches.c when CONFIG_SYSCTL=n

2013-03-13 Thread Josh Triplett
drop_caches.c provides code only invokable via sysctl, so don't compile it in when CONFIG_SYSCTL=n. Signed-off-by: Josh Triplett --- fs/Makefile|3 ++- include/linux/mm.h |4 kernel/sysctl.c|1 - 3 files changed, 6 insertions(+), 2 deletions(-) diff --git

Re: [PATCH] powerpc/40x: remove unused "config 405GPR"

2013-03-14 Thread Josh Boyer
On Thu, Mar 14, 2013 at 9:47 AM, Paul Bolle wrote: > The last user of Kconfig symbol 405GPR got removed in release v3.2. > Remove this symbol too. > > Signed-off-by: Paul Bolle Acked-by: Josh Boyer > --- > arch/powerpc/platforms/40x/Kconfig | 3 --- > 1 file changed, 3

Re: NULL pointer dereference in ext4_superblock_csum_set with mounted filesystem

2013-03-14 Thread Josh Triplett
On Thu, Mar 14, 2013 at 12:08:35AM -0400, Theodore Ts'o wrote: > Huh. This is very, very weird. Is this a repeatable crash? I could reliably replicate it for that particular session, but now that I've rebooted the host, no. - Josh Triplett -- To unsubscribe from this list:

[PATCH] fs: Make binfmt support for #! scripts modular and removable

2013-03-15 Thread Josh Triplett
don't need scripts before mounting the root filesystem can build this as a module. Signed-off-by: Josh Triplett --- Resending this because I received a bounce notification from v...@zeniv.linux.org.uk. Hopefully this one will go through. Note when testing this that many shells implement su

Re: Logitech USB headset not working in 3.6-rc3

2012-08-29 Thread Josh Boyer
On Wed, Aug 29, 2012 at 03:32:34PM +0200, Daniel Mack wrote: > On 29.08.2012 15:29, Takashi Iwai wrote: > > At Wed, 29 Aug 2012 13:26:25 +0200, > > Daniel Mack wrote: > >> > >> [1 ] > >> On 25.08.2012 14:17, Josh Boyer wrote: > >>> On Sa

Re: Logitech USB headset not working in 3.6-rc3

2012-08-29 Thread Josh Boyer
On Wed, Aug 29, 2012 at 01:07:53PM -0400, Josh Boyer wrote: > > Right. New patch attached. > > I'll try and get another kernel built with this later today. I'm at > Plumbers so it might have to wait a bit. OK, I got impatient with myself and got the kernel building s

Re: [PATCH tip/core/rcu 0/5] Documentation and rcutorture changes

2012-08-30 Thread Josh Triplett
efixes get there, and why does it list kernel/rcutorture.c twice, once with and once without? - Josh Triplett -- 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.tux.org/lkml/

Re: [PATCH tip/core/rcu 1/5] rcu: Update rcutorture defaults

2012-08-30 Thread Josh Triplett
> > diff --git a/kernel/rcutorture.c b/kernel/rcutorture.c > index 25b1503..86315d3 100644 > --- a/kernel/rcutorture.c > +++ b/kernel/rcutorture.c > @@ -53,10 +53,10 @@ MODULE_AUTHOR("Paul E. McKenney and > Josh Triplett > static int nreaders = -1;/* # reader threa

Re: [PATCH tip/core/rcu 2/5] rcu: Track CPU-hotplug duration statistics

2012-08-30 Thread Josh Triplett
On Thu, Aug 30, 2012 at 11:45:09AM -0700, Paul E. McKenney wrote: > From: "Paul E. McKenney" > > Many rcutorture runs include CPU-hotplug operations in their stress > testing. This commit accumulates statistics on the durations of these > operations in deference to the recent concern about the o

Re: [PATCH tip/core/rcu 3/5] rcu: Document SRCU dead-CPU capabilities, emphasize read-side limits

2012-08-30 Thread Josh Triplett
on to bring this out, not just for SRCU, > but also for RCU-bh. Also document the fact that SRCU readers are > respected on CPUs executing in user mode, idle CPUs, and even on > offline CPUs. > > Signed-off-by: Paul E. McKenney Reviewed-by: Josh Triplett > Documentation/RCU/c

Re: [PATCH tip/core/rcu 4/5] rcu: Switch rcutorture to pr_alert() and friends

2012-08-30 Thread Josh Triplett
setting pr_fmt as well, and dropping the various "rcutorture:" prefixes? You'd still potentially want to add the torture type, though you could do that with pr_fmt as well. In any case: Reviewed-by: Josh Triplett -- To unsubscribe from this list: send the line "unsubscribe linu

Re: [PATCH tip/core/rcu 5/5] rcu: Prevent initialization race in rcutorture kthreads

2012-08-30 Thread Josh Triplett
uld make sense as changes to kthread_run itself, but that's another patch. :) - Josh Triplett -- 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.tux.org/lkml/

[PATCH 0/3] Fix ACPI BGRT support for images located in EFI boot services memory

2012-08-30 Thread Josh Triplett
driver to use that existing copy. Josh Triplett (3): efi: Defer freeing boot services memory until after ACPI init efi: Add a function to look up existing IO memory mappings efi: Fix the ACPI BGRT driver for images located in EFI boot services memory arch/x86/platform/efi/Makefile |1

[PATCH 1/3] efi: Defer freeing boot services memory until after ACPI init

2012-08-30 Thread Josh Triplett
Some new ACPI 5.0 tables reference resources stored in boot services memory, so keep that memory around until we have ACPI and can extract data from it. Signed-off-by: Josh Triplett --- arch/x86/platform/efi/efi.c | 31 ++- include/linux/efi.h |1

<    1   2   3   4   5   6   7   8   9   10   >