Linux Kernel

Origins

What is an OS today?

Abstracts a set of hardware resources

 

Multiplexing (sharing) resources

 

Common Misconceptions

It is hard.

It is difficult to debug

Netconsole

Attach with GDB

Good old printk

The community isn't so welcoming

​

On Sun, Dec 23, 2012 at 6:08 AM, Mauro Carvalho Chehab
<mchehab@redhat.com> wrote:
>
> Are you saying that pulseaudio is entering on some weird loop if the
> returned value is not -EINVAL? That seems a bug at pulseaudio.

Mauro, SHUT THE FUCK UP!

It's a bug alright - in the kernel. How long have you been a
maintainer? And you *still* haven't learnt the first rule of kernel
maintenance?

If a change results in user programs breaking, it's a bug in the
kernel. We never EVER blame the user programs. How hard can this be to
understand?

...

> So, on a first glance, this doesn't sound like a regression,
> but, instead, it looks tha pulseaudio/tumbleweed has some serious
> bugs and/or regressions.

Shut up, Mauro. And I don't _ever_ want to hear that kind of obvious
garbage and idiocy from a kernel maintainer again. Seriously.

...

WE DO NOT BREAK USERSPACE!

The fact that you then try to make *excuses* for breaking user space,
and blaming some external program that *used* to work, is just
shameful. It's not how we work.

Fix your f*cking "compliance tool", because it is obviously broken.
And fix your approach to kernel programming.

 

               Linus

( Everyone is only bad with the people who have been contributing for years )

Getting it

git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git

Building it

# open config wizards
make config/menuconfig/xconfig

# or load config of currently running kernel/generate random configuration
make localmodconfig/randconfig

# j is the number of concurrent jobs 
make -j4

# Build single module
make M=<path>

Submitting the patch

git format-patch -1 # prepare last commit as patch for email submission

vim MAINTAINERS

./scripts/get_maintainer.pl <patch>

git send-email <patch> --confirm=always --to="<maintainers>" 

Run the latest

make defconfig

make localmodconfig

make -k`nproc`

make headers_install

make install

reboot

Handy Tips

Extra

Linux Kernel

By ..

Linux Kernel

  • 2,600