Re: [Ksummit-discuss] bug-introducing patches

2018-05-08 Thread David Lang
On Tue, 8 May 2018, Sasha Levin wrote: There's no one, for example, who picked up vanilla v4.16 and plans to keep using it for a year. Actually, at a prior job I would do almost exactly that. I never intended to go a year without updating, but it would happen if nothing came up that was rela

Re: Reg : Spectre & Meltdown

2018-01-15 Thread David Lang
the 4.4.112 patches that Greg just posted include a bunch of work for these vulnerabilities. Who knows what has been backported to the kernel he is running. k

Re: Reg : Spectre & Meltdown

2018-01-15 Thread David Lang
you are running a RedHat kernel, you will have to ask them about what they have included in it. k

Re: [PATCH] x86/retpoline: Fill return stack buffer on vmexit

2018-01-10 Thread David Lang
I somewhat hate to ask this, but for those of us following at home, what does this add to the overhead? I am remembering an estimate from mid last week that put retpoline at replacing a 3 clock 'ret' with 30 clocks of eye-bleed code

Re: Avoid speculative indirect calls in kernel

2018-01-07 Thread David Lang
The point is that in many cases, if someone explits the "trusted" process, they already have everything that the machine is able to do anyway.

Re: Avoid speculative indirect calls in kernel

2018-01-03 Thread David Lang
ccordingly. David Lang

Re: Yes you have standing to sue GRSecurity

2017-07-29 Thread David Lang
ing a precedent" and if the violating of the Linux license agreement is left unchecked, then quite possibly a precedent could be set to allow an entire upstream kernel to be co-opted. This is a potential problem. David Lang

Re: [copyleft-next] Re: Kernel modules under new copyleft licence : (was Re: [PATCH v2] module.h: add copyleft-next >= 0.3.1 as GPL compatible)

2017-05-18 Thread David Lang
e ok, you can ignore copyleft-next and just use GPLv2 David Lang

Re: Apparent backward time travel in timestamps on file creation

2017-03-30 Thread David Lang
what's remote, that list would become out of date as new filesystems are added) David Lang

Re: [Cluster-devel] [PATCH 8/8] Revert "ext4: fix wrong gfp type under transaction"

2017-01-28 Thread David Lang
many SRE-types find comforting. What does SRE stand for? Site Reliability Engineer, a mix of operations and engineering (DevOps++) David Lang

Re: Regression - SATA disks behind USB ones on v4.8-rc1, breaking boot. [Re: Who reordered my disks (probably v4.8-rc1 problem)]

2016-08-14 Thread David Lang
nd on this" Drive ordering has been stable since the 0.1 kernel [1] It takes a lot longer to detect USB drives, why in the world would they be detected before hard-wired drives? I expect that Linus' response is going to be very quotable. David Lang [1] given stable hardware and no new drivers becoming involved

Re: Variant symlink filesystem

2016-03-11 Thread David Lang
nt. There is the nsenter program that will run a program inside an existing namespace. It looks like you need something similar that implements some permission checking (only let you go into namespaces of other programs for the same user or similar), but you should be able to make proof-of-concept scripts with nsenter. David Lang

Re: Variant symlink filesystem

2016-03-11 Thread David Lang
a small daemon to run as root that reassigns your different sessions from one ns to another. David Lang When we originally looked at namespaces and containers, we could not find a solution to achieve the above. Is this possible using namespaces? Regards /Cole

Re: Variant symlink filesystem

2016-03-11 Thread David Lang
from the system packages, and no collisions would occur. why would this not be a case to use filesystem namespaces and bind mounts? David Lang

Re: [PATCH 00/42] ACPICA: 20151218 Release

2016-01-02 Thread David Lang
what is ACPICA and why should we care about divergence between it and the linux upstream? Where is it to be found? This may be common knowlege to many people, but it should probably be documented in the patch bundle and it's explination. David Lang On Tue, 29 Dec 2015, Lv Zheng

Re: kdbus: to merge or not to merge?

2015-08-09 Thread David Lang
rces allocated to another and kill the system without providing a kernel level mechanism to limit the damage (as opposed to fixing individual apps) seems rather short-sighted at best. David Lang

Re: [FYI] tux3: Core changes

2015-07-31 Thread David Lang
On Fri, 31 Jul 2015, Daniel Phillips wrote: On Friday, July 31, 2015 11:29:51 AM PDT, David Lang wrote: We, the Linux Community have less tolerance for losing people's data and preventing them from operating than we used to when it was all tinkerer's personal data and secondary sys

Re: [FYI] tux3: Core changes

2015-07-31 Thread David Lang
people see the pace of development as still being high, just with more testing and polishing before it gets out to users. David Lang -- 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 a

Re: kdbus: to merge or not to merge?

2015-06-24 Thread David Lang
On Wed, 24 Jun 2015, Greg KH wrote: On Wed, Jun 24, 2015 at 10:39:52AM -0700, David Lang wrote: On Wed, 24 Jun 2015, Ingo Molnar wrote: And the thing is, in hindsight, after such huge flamewars, years down the line, almost never do I see the following question asked: 'what were we thi

Re: kdbus: to merge or not to merge?

2015-06-24 Thread David Lang
On Wed, 24 Jun 2015, Martin Steigerwald wrote: Am Mittwoch, 24. Juni 2015, 10:39:52 schrieb David Lang: On Wed, 24 Jun 2015, Ingo Molnar wrote: And the thing is, in hindsight, after such huge flamewars, years down the line, almost never do I see the following question asked: 'what we

Re: kdbus: to merge or not to merge?

2015-06-24 Thread David Lang
x27;what was the big fuss about?'. So I think by and large the process works. counterexamples, devfs, tux David Lang -- 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.ke

Re: clustered MD

2015-06-09 Thread David Lang
k correctly for what you'd like to do with it, i.e. I don't know what the problem is. As I understand things, the problem is ~providing RAID across multiple machines, not just across the disks in one machine. David Lang -- To unsubscribe from this list: send the line "unsubscribe

Re: Device Tree Blob (DTB) licence

2015-05-29 Thread David Lang
n safely ignore that. Arguing license issues and at the same time claiming that you should ignore a legal statement like the footer is a bit odd. David Lang -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.o

Re: Device Tree Blob (DTB) licence

2015-05-29 Thread David Lang
scription of the hardware? note, this whole discussion assumes that the DTB is even copyrightable. Since it's intended to be strictly a functional description of what the hardware is able to do, that could be questioned David Lang -- To unsubscribe from this list: send the line "unsu

Re: [FYI] tux3: Core changes

2015-05-25 Thread David Lang
On Mon, 25 May 2015, Daniel Phillips wrote: On Monday, May 25, 2015 11:04:39 PM PDT, David Lang wrote: if the page gets modified again, will that cause any issues? what if the page gets modified before the copy gets written out, so that there are two dirty copies of the page in the process of

Re: [FYI] tux3: Core changes

2015-05-25 Thread David Lang
On Mon, 25 May 2015, Daniel Phillips wrote: On Monday, May 25, 2015 9:25:44 PM PDT, Rik van Riel wrote: On 05/21/2015 03:53 PM, Daniel Phillips wrote: On Wednesday, May 20, 2015 8:51:46 PM PDT, David Lang wrote: how do you prevent it from continuing to interact with the old version of the

Re: [FYI] tux3: Core changes

2015-05-20 Thread David Lang
should be surprised. That is a race even without page fork. how do you prevent it from continuing to interact with the old version of the page and never see updates or have it's changes reflected on the current page? David Lang -- To unsubscribe from this list: send the line "unsubsc

Re: [FYI] tux3: Core changes

2015-05-20 Thread David Lang
and could interact badly with other things touching the page cache. David Lang -- 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: [FYI] tux3: Core changes

2015-05-19 Thread David Lang
t's meant by the top statement that I left in the quote. Even if your implementation details make it safe, these need to be safe even without your implementation details to be acceptable in the core kernel. David Lang -- To unsubscribe from this list: send the line "unsubscribe linux-k

Re: [FYI] tux3: Core changes

2015-05-16 Thread David Lang
write would be blocked, and will get forked again for follow-up writes if it's modified again otherwise, won't this be the same thing? David Lang If RDMA to a mmapped file races with write(2) to the same file, maybe it is reasonable and expected to lose some data. In the RDM

Re: xfs: does mkfs.xfs require fancy switches to get decent performance? (was Tux3 Report: How fast can we fsync?)

2015-05-12 Thread David Lang
On Tue, 12 May 2015, Daniel Phillips wrote: On 05/12/2015 02:30 PM, David Lang wrote: On Tue, 12 May 2015, Daniel Phillips wrote: Phoronix published a headline that identifies Dave Chinner as someone who takes shots at other projects. Seems pretty much on the money to me, and it ought to be

Re: xfs: does mkfs.xfs require fancy switches to get decent performance? (was Tux3 Report: How fast can we fsync?)

2015-05-12 Thread David Lang
On Tue, 12 May 2015, Daniel Phillips wrote: On 05/12/2015 11:39 AM, David Lang wrote: On Mon, 11 May 2015, Daniel Phillips wrote: ...it's the mm and core kernel developers that need to review and accept that code *before* we can consider merging tux3. Please do not say "we"

Re: xfs: does mkfs.xfs require fancy switches to get decent performance? (was Tux3 Report: How fast can we fsync?)

2015-05-12 Thread David Lang
n it gets stressed by real-world (as opposed to benchmark) workloads. This isn't saying that you are wrong in your belief, just that you may not be right, and nobody will know until you are to a usable state and other people can start beating on it. David Lang -- To unsubscribe from this li

Re: xfs: does mkfs.xfs require fancy switches to get decent performance? (was Tux3 Report: How fast can we fsync?)

2015-05-11 Thread David Lang
of directories at a fairly modest rate per directory) And when you then decide that you have to move the directory/file info, doesn't that create a potentially large amount of unexpected IO that could end up interfering with what the user is trying to do? David Lang -- To unsubscribe fro

Re: how to have the kernel do udev's job and autoload the right modules ?

2015-05-07 Thread David Lang
On Thu, 7 May 2015, Austin S Hemmelgarn wrote: On 2015-05-06 16:49, David Lang wrote: On Wed, 6 May 2015, linuxcbon linuxcbon wrote: On Wed, May 6, 2015 at 7:53 PM, David Lang wrote: It's perfectly legitimate to not want to use udev, but that doesn't mean that the kernel will

Re: how to have the kernel do udev's job and autoload the right modules ?

2015-05-06 Thread David Lang
On Wed, 6 May 2015, linuxcbon linuxcbon wrote: On Wed, May 6, 2015 at 7:53 PM, David Lang wrote: It's perfectly legitimate to not want to use udev, but that doesn't mean that the kernel will (or should) do it for you. David Lang When I boot the kernel without modules, I don'

Re: how to have the kernel do udev's job and autoload the right modules ?

2015-05-06 Thread David Lang
laces it to load the right module with the right options. It's perfectly legitimate to not want to use udev, but that doesn't mean that the kernel will (or should) do it for you. David Lang -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in th

Re: A desktop environment[1] kernel wishlist

2015-05-05 Thread David Lang
limit things to two feeds with one always being a subset of the other, create a mechanism to allow an arbitrary number of feeds that can be filtered in different ways David Lang -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to ma

Re: Tux3 Report: How fast can we fsync?

2015-05-01 Thread David Lang
that is in progress. This is much easier than spinning disk. Tux3's redirect-on-write[1] is obviously a natural for SMR, however I will not get excited about it unless a vendor waves money. what drives are available now? see if you can get a couple (either directly or donated) David Lang

Re: [GIT PULL] kdbus for 4.1-rc1

2015-04-29 Thread David Lang
On Thu, 30 Apr 2015, Dave Airlie wrote: On 30 April 2015 at 10:05, David Lang wrote: On Wed, 29 Apr 2015, Theodore Ts'o wrote: On Wed, Apr 29, 2015 at 12:26:59PM -0400, John Stoffel wrote: If your customers wnat this feature, you're more than welcome to fork the kernel and

Re: [GIT PULL] kdbus for 4.1-rc1

2015-04-29 Thread David Lang
his 5 years ago, before the "let's speed up boot" push started. Admittedly, this wasn't a stock distro boot/install, it was my own optimized one, but it also wasn't as optimized and automated as it could have been (several points where the installer needed to pick it

Re: [GIT PULL] kdbus for 4.1-rc1

2015-04-29 Thread David Lang
On Wed, 29 Apr 2015, Andy Lutomirski wrote: On Wed, Apr 29, 2015 at 1:15 PM, David Lang wrote: On Wed, 29 Apr 2015, Andy Lutomirski wrote: On Wed, Apr 29, 2015 at 12:30 PM, Austin S Hemmelgarn wrote: On 2015-04-29 14:54, Andy Lutomirski wrote: On Apr 29, 2015 5:48 AM, "Harald

Re: [GIT PULL] kdbus for 4.1-rc1

2015-04-29 Thread David Lang
es to the receiver, that's a valid choice. But preventing a receiver from exiting because it hasn't processed a message is not a valid choice. David Lang -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kern

Re: [GIT PULL] kdbus for 4.1-rc1

2015-04-29 Thread David Lang
later. I've been getting the early boot messages in my logs for decades (assuming the system doesn't fail before the syslog daemon is started). It sometimes has required setting a larger than default ringbuffer in the kernel, but that's easy enough to do. David Lang -- To unsubs

Re: [GIT PULL] kdbus for 4.1-rc1

2015-04-28 Thread David Lang
On Tue, 28 Apr 2015, Havoc Pennington wrote: On Tue, Apr 28, 2015 at 1:19 PM, David Lang wrote: If the examples that are being used to show the performance advantage of kdbus vs normal dbus are doing the wrong thing, then we need to get some other examples available to people who don't

Re: [GIT PULL] kdbus for 4.1-rc1

2015-04-28 Thread David Lang
so things right' so that the kernel developers can see what you think is the real problem and how kdbus addresses it. So far, this 'wrong' example is the only thing that's been posted to show the performance advantage of kdbus. David Lang -- To unsubscribe from this list:

Re: [GIT PULL] kdbus for 4.1-rc1

2015-04-27 Thread David Lang
e we can exceed the maximum number of pending replies per connection. aren't we being told that part of the reason for needing kdbus is that thousands, or tens of thousands of messages are being spewed out? how does limiting it to 128 messages represent real-life if this is the case? D

Re: Trusted kernel patchset

2015-03-16 Thread David Lang
at can't be upgraded to fix bugs that are discovered is a problem. This is an issue that the Internet of Things folks are just starting to notice, and it's only going to get worse before it gets better. How do you patch bugs on your non-volitile media? What keeps that mechansim fr

Re: cgroup: status-quo and userland efforts

2015-03-04 Thread David Lang
etimes you have types of controls that are orthoginal to each other, and you either manage the two types of things in separate hierarchies, or you end up with one hierarchy that is a permutation of all the combinations of what would have been separate hierarchies. David Lang -- To unsubscribe

Re: cgroup: status-quo and userland efforts

2015-03-03 Thread David Lang
hy he concludes that having a single hierarchy for all resource types. David Lang -- 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: [proposal] delegating cgroup manager to non-PID1

2015-03-02 Thread David Lang
On Tue, 3 Mar 2015, Luke Kenneth Casson Leighton wrote: On Mon, Mar 2, 2015 at 12:13 AM, David Lang wrote: On Sun, 1 Mar 2015, Luke Kenneth Casson Leighton wrote: in recent discussions about PID-1 alternatives (sysvinit, openrc, systemd, depinit) i was alerted to the idea that PID1 is to

Re: [proposal] delegating cgroup manager to non-PID1

2015-03-01 Thread David Lang
to deal with right now, so they want to make cgroups exclusive to PID1 as a 'temporary' measure, and then look at solving the problems that are needed to let other processes manage parts or all of the cgroups config. David Lang -- To unsubscribe from this list: send the line "unsub

Re: Linux 3.19-rc3

2015-01-09 Thread David Lang
a handful of virtual machines), would the file cache issue still be overwelming, even though it's the virtual machines accessing things? David Lang -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org Mor

Re: Do you like more dependencies like perl added to the kernel build ?

2015-01-09 Thread David Lang
Rob posted the patch to the list, and there was a response asking for it to be re-done with more explination of what it is, what it's fixing, etc. look in the archives for the post. Rob doesn't seem enthusiastic to jump through these hoops, but you could do so and submit it. Davi

Re: [PATCH] Revert "cfg80211: make WEXT compatibility unselectable"

2014-12-31 Thread David Lang
as "ifconfig" and "route" or does the package have more to offer. there are things that you can do with "ip" that you can't do with "ifconfig", but they tend to be rather esoteric things (hundreds of IP addresses on "eth0" without using

Re: [Linux-ima-user] Initramfs and IMA Appraisal

2014-12-29 Thread David Lang
stored on the same filesystem? If someone could alter the file contents they can alter the signatures as well. David Lang -- 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://

Re: frequent lockups in 3.18rc4

2014-12-12 Thread David Lang
, so these kinds of races should at most delay things by just a tiny amount, If the machine has NOHZ and has a cpu bound userspace task, it could take quite a while before userspace would trigger a reschedule (at least if I've understood the comments on this thread properly) David Lang --

Re: Why do we still have 32 bit counters? Interrupt counters overflow within 50 days

2014-10-06 Thread David Lang
this value changes more than the threshold, something happened and it's not valid to use this delta" This has been the case for decades. If you have a monitoring tool that does not account for this sort of thing, you have an immature tool. David Lang -- To unsubscribe from this list

Re: Why do we still have 32 bit counters? Interrupt counters overflow within 50 days

2014-10-06 Thread David Lang
ple like to see in a fast path, especially for something of as low an importance as the counters. David Lang -- 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/m

Re: Help Out and Issues with the Community

2014-09-25 Thread David Lang
ing as you work here is not always the best thing to do. David Lang -- 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, RFC] random: introduce getrandom(2) system call

2014-07-17 Thread David Lang
there isn't random data available? David Lang -- 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: Licensing & copyright of kernel .config files (defconfig, *config)

2014-06-01 Thread David Lang
u and causing the need to question the licenseing? David Lang On Sun, 1 Jun 2014, Robin H. Johnson wrote: On Mon, Jun 02, 2014 at 12:01:46AM +0100, Ken Moffat wrote: Naively, since the defconfigs are bundled with the kernel, that could fall under GPLv2-only implicitly, but lacking any explici

Re: Licensing & copyright of kernel .config files (defconfig, *config)

2014-05-31 Thread David Lang
f it did, that would make the copyright be owned by the person who made those selections. David Lang On Sun, 1 Jun 2014, Robin H. Johnson wrote: (Please CC me on replies, not subscribed to LKML) Hi, Somewhat of an odd question, but none of the files in question seem to have a copyright

Re: [RFC PATCH 0/2] kpatch: dynamic kernel patching

2014-05-08 Thread David Lang
On Wed, 7 May 2014, Ingo Molnar wrote: * Josh Poimboeuf wrote: On Tue, May 06, 2014 at 09:32:28AM +0200, Ingo Molnar wrote: * Jiri Kosina wrote: On Mon, 5 May 2014, David Lang wrote: how would you know that all instances of the datastructure in memory have= been touched? just because

Re: [RFC PATCH 0/2] kpatch: dynamic kernel patching

2014-05-07 Thread David Lang
ally restricting it to such patches would be a good beginning - most of the security fixes are just failed checks, i.e. they don't typically even change any external (not on stack) memory structure, right? in terms of hit-patching kernels you are correct. but that's a far cry from what it

Re: [RFC PATCH 0/2] kpatch: dynamic kernel patching

2014-05-07 Thread David Lang
;s impossible as a general rule to say that changing memory structures is going to be safe (or even possible) to change. that includes any access to memory that moves around a lock David Lang -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a messa

Re: [RFC PATCH 0/2] kpatch: dynamic kernel patching

2014-05-05 Thread David Lang
On Tue, 6 May 2014, Jiri Kosina wrote: On Mon, 5 May 2014, David Lang wrote: how would you know that all instances of the datastructure in memory have= been touched? just because all tasks have run and are outside the function in question doesn't tell you data structures have been conv

Re: [RFC PATCH 0/2] kpatch: dynamic kernel patching

2014-05-05 Thread David Lang
call to the modified function will take place on any potential in-memory structure. David Lang -- 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/majordom

Re: Cryogenic: Enabling Power-Aware Applications on Linux

2014-04-11 Thread David Lang
hurt high-performance server apps if it's compiled in) David Lang 0x48426C7E.asc Description: application/pgp-keys

Re: [RFC] QR encoding for Oops messages

2014-04-03 Thread David Lang
of using characters that represent more than one pixel per character. While this may not be able to render everything perfectly, remember that qr codes can include redundancy to correct for bad pixels, you may be able to get something working. David Lang -- To unsubscribe from this list: send t

Re: Replacing GNU

2014-04-01 Thread David Lang
except sometimes at the edge where interfacing with third party software. David Lang On Wed, 2 Apr 2014, Andrew Stephenson wrote: Ah, so there is a Free Software camp and an Open Source camp within the Linux Kernel Mailing List. On 2 Apr 2014, at 11:45 am, David Lang wrote: There is no

Re: [Lsf] Postgresql performance problems with IO latency, especially during fsync()

2014-03-26 Thread David Lang
s. the problem with a callback is that you then need to wait for that source to get the CPU and finish doing it's work. What happens if that takes long enough for you to run out of data to write? And is it worth the extra context switches to bounce around when the writing process was finish

Re: [dm-devel] [PATCH RFC v1 00/01] dm-lightnvm introduction

2014-03-24 Thread David Lang
new routers from working. If this can work as a shim layer between the hardware and the filesystem for OpenWRT, you would gain a very large userbase rather quickly. David Lang -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord..

Re: Trusted kernel patchset for Secure Boot lockdown

2014-03-14 Thread David Lang
el. Trusted by who? Alan is saying measured because then if it matches what the owner of that device intends it's trusted, but just because you trust it doesn't mean that I trust it, and it doesn't mean that the russian government should trust it, etc. There just isn'

Re: [PATCH] net: sched: dev_deactivate_many(): use msleep(1) instead of yield() to wait for outstanding qdisc_run calls

2014-03-09 Thread David Lang
hat would be to implement or how widely useful it would be. what is msleep(0) defined to do? would it be any better? David Lang -- 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] Pre-emption control for userspace

2014-03-06 Thread David Lang
eplacing that with the context switch to the kernel and back isn't a subtantial win. David Lang -- 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-in

Re: [RFC] [PATCH] Pre-emption control for userspace

2014-03-06 Thread David Lang
On Wed, 5 Mar 2014, Khalid Aziz wrote: On 03/05/2014 05:36 PM, David Lang wrote: Yes, you pay for two context switches, but you don't pay for threads B..ZZZ all running (and potentially spinning) trying to aquire the lock before thread A is able to complete it's work. Ah, gre

Re: [RFC] [PATCH] Pre-emption control for userspace

2014-03-05 Thread David Lang
On Wed, 5 Mar 2014, Khalid Aziz wrote: On 03/05/2014 04:59 PM, David Lang wrote: what's the cost to setup mmap of this file in /proc. this is sounding like a lot of work. That is a one time cost paid when a thread initializes itself. is this gain from not giving up the CPU at all?

Re: [RFC] [PATCH] Pre-emption control for userspace

2014-03-05 Thread David Lang
On Wed, 5 Mar 2014, Khalid Aziz wrote: On 03/05/2014 04:13 PM, David Lang wrote: Yes, you have paid the cost of the context switch, but your original problem description talked about having multiple other threads trying to get the lock, then spinning trying to get the lock (wasting time if the

Re: [RFC] [PATCH] Pre-emption control for userspace

2014-03-05 Thread David Lang
approach avoids all those other threads trying in turn so it should get fairly close to the same benefits. David Lang -- 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.ker

Re: [RFC][PATCH 0/5] arch: atomic rework

2014-02-19 Thread David Lang
.g., fixed and known addresses (see my reply to Paul), which are outside of the semantics specified in the standard), I don't see a correctness problem here. Are you really sure that the compiler can figure out every possible thing that a loadable module or JITed code can access? That seems

Re: That greedy Linux VM cache

2014-01-30 Thread David Lang
, but not much, right now I ran Chromium (in addition to long-run Firefox) and only 32 MiB went to swap, load avg. ~ 7 that much read activity probably means that you are swapping pages in to use them, then dropping them to swap in another page, which you then drop to go back and fetch the first p

Re: [Lsf-pc] [LSF/MM TOPIC] really large storage sectors - going beyond 4096 bytes

2014-01-22 Thread David Lang
measure the results. I don't know if md and dm are currently smart enough to realize that the entire stripe is being overwritten and avoid the RMW cycle. If they can't, I would expect that once we start measuring it, they will gain such support. David Lang -- To unsubscribe from this li

Re: Create new NetFilter table

2014-01-10 Thread David Lang
cally creating rules also maintain a file that can be used to recreate all those rules. Then the Admins or init scripts can recreate things easily. David Lang -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org

Re: [PATCH] Add LED pattern trigger

2014-01-01 Thread David Lang
cussion of if the same interface could/should be used to emulate harsdware when it isn't there can be a seprate discussion. And while this use case the original developer had in mind was the 'I've lost my mind' notification to a human, I think it makes sense to consider oth

Re: [PATCH] Add LED pattern trigger

2014-01-01 Thread David Lang
e that doesn't care if or how it's accelerated, setup the output and tell the system to do it without worrying about the specific hardware details. Isn't that a large part of what the kernel is supposed to be doing? David Lang -- To unsubscribe from this list: send the line "

Re: Disabling in-memory write cache for x86-64 in Linux II

2013-11-06 Thread David Lang
this timeframe, the data will be lost and it may corrupt the file if only some of the data got written. David Lang -- 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.kerne

Re: Disabling in-memory write cache for x86-64 in Linux II

2013-10-25 Thread David Lang
IGHMEM machines and 64-bit machines. If you go this direction, allow ratios larger than 100%, some people may be willing to have huge amounts of dirty data on large memory machines (if the load is extremely bursty, they don't have other needs for I/O, or they have a very fast sto

Re: Disabling in-memory write cache for x86-64 in Linux II

2013-10-25 Thread David Lang
second, whereas on x86-64 it can take a dozen of _minutes_ depending on a file size and storage performance). What exactly is bothering you about this? The amount of memory used or the time until data is flushed? actually, I think the problem is more the impact of the huge write later on. Davi

Re: [RFC] extending splice for copy offloading

2013-10-02 Thread David Lang
om the start :-p or at least have a debugging option early on that does this so people can use it to find such buggy apps. David Lang -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo i

Re: [PATCH v3 0/2] ext4: increase mbcache scalability

2013-09-11 Thread David Lang
you are using xattrs, the mbcache should not show up at all. The fact that you are using SElinux, and SELinux sets the xattrs is what makes this show up on your system, but other people who don't use SELinux (and so don't have any xattrs set) don't see the same bottleneck. Dav

Re: [PATCH 00/12] One more attempt at useful kernel lockdown

2013-09-10 Thread David Lang
t it hasn't been changed. But I haven't chased this very hard yet because of below... well, not if you are trying to defend against root breaking in to the machine. David Lang -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message

Re: [PATCH 00/12] One more attempt at useful kernel lockdown

2013-09-09 Thread David Lang
On Tue, 10 Sep 2013, Matthew Garrett wrote: On Mon, 2013-09-09 at 19:44 -0700, David Lang wrote: On Tue, 10 Sep 2013, Matthew Garrett wrote: No. Say someone adds an additional lockdown bit to forbid raw access to mounted block devices. The "Turn everything off" approach now means th

Re: [PATCH 00/12] One more attempt at useful kernel lockdown

2013-09-09 Thread David Lang
On Tue, 10 Sep 2013, Matthew Garrett wrote: On Mon, 2013-09-09 at 16:19 -0700, David Lang wrote: On Mon, 9 Sep 2013, Matthew Garrett wrote: Having thought about this, the answer is no. It presents exactly the same problem as capabilities do - the set can never be meaningfully extended. If an

Re: [PATCH 00/12] One more attempt at useful kernel lockdown

2013-09-09 Thread David Lang
On Mon, 9 Sep 2013, Matthew Garrett wrote: On Mon, 2013-09-09 at 11:25 -0700, David Lang wrote: 1 lock down modules 2 lock down kexec Having thought about this, the answer is no. It presents exactly the same problem as capabilities do - the set can never be meaningfully extended. If an

Re: [PATCH 00/12] One more attempt at useful kernel lockdown

2013-09-09 Thread David Lang
On Mon, 9 Sep 2013, Matthew Garrett wrote: On Mon, 2013-09-09 at 12:59 -0700, David Lang wrote: At least you should be able to unify the implementation, even if you don't unify the user visible knob Well sure, I could take this integer and merge another integer into it, but now you hav

Re: [PATCH 00/12] One more attempt at useful kernel lockdown

2013-09-09 Thread David Lang
On Mon, 9 Sep 2013, Matthew Garrett wrote: On Mon, 2013-09-09 at 11:53 -0700, David Lang wrote: So is there a way to unify these different things rather than creating yet another different knob? We haven't found one that people consider generally acceptable. At least you should be ab

Re: [PATCH 00/12] One more attempt at useful kernel lockdown

2013-09-09 Thread David Lang
On Mon, 9 Sep 2013, Josh Boyer wrote: On Mon, Sep 9, 2013 at 3:41 PM, H. Peter Anvin wrote: On 09/09/2013 12:01 PM, valdis.kletni...@vt.edu wrote: On Mon, 09 Sep 2013 11:25:38 -0700, David Lang said: Given that we know that people want signed binaries without blocking kexec, you should

Re: [PATCH 00/12] One more attempt at useful kernel lockdown

2013-09-09 Thread David Lang
On Mon, 9 Sep 2013, Matthew Garrett wrote: On Mon, 2013-09-09 at 11:25 -0700, David Lang wrote: Given that we know that people want signed binaries without blocking kexec, you should have '1' just enforce module signing and '2' (or higher) implement a full lockdown includ

Re: [PATCH 00/12] One more attempt at useful kernel lockdown

2013-09-09 Thread David Lang
On Mon, 9 Sep 2013, Matthew Garrett wrote: On Mon, 2013-09-09 at 11:40 -0700, David Lang wrote: On Mon, 9 Sep 2013, Matthew Garrett wrote: On Mon, 2013-09-09 at 11:25 -0700, David Lang wrote: Given that we know that people want signed binaries without blocking kexec, you should have &#

  1   2   3   4   >