Précédent   Forum des professionnels en informatique > Le club des professionnels en informatique > Actualités
Actualités L'actualité des sociétés du secteur informatique
Partagez cette discussion sur d'autres réseaux sociaux : Viadeo Twitter Google Facebook Digg Delicious MySpace Yahoo
Réponse Proposer ce sujet en actualité
 
Outils de la discussion
Publicité
'
Vieux 19/11/2010, 17h34   #1
Invité de passage
 
Alexandre Strzelewicz
Inscription : septembre 2010
Messages : 3
Détails du profil
Informations personnelles :
Nom : Alexandre Strzelewicz
Localisation : France, Paris (Île de France)

Informations forums :
Inscription : septembre 2010
Messages : 3
Points : 0
Points : 0
Par défaut Patch miracle pour Linux dépassé par 4 lignes de bash

Patch miracle pour Linux dépassé par 4 lignes de bash

Lennart Poettering (de RedHat) réponds à Linus Torvalds que 4 lignes de bash surpasse le récent patch miracle de 220 lignes :

Lennart Poettering :
Citation:
Binding something like this to TTYs is just backwards. No graphical
session has a TTY attached anymore. And there might be multiple TTYs
used in the same session.

I really wonder why logic like this should live in kernel space at all,
since a) the kernel has no real notion of a session, except audit and b)
this is policy and as soon as people have this kind of group then they
probably want other kind of autogrouping as well for the other
controllers, which hence means userspace is a better, and configurable
place for this.
Linus Torvalds :
Citation:
Numbers talk, bullshit walks.

The numbers have been quoted. The clear interactive behavior has been seen.

And you're just full of bullshit.

Come back when you have something working and with numbers and better
interactive performance. Until then, nobody cares.
Où Lennart Poettering réponds :

Citation:
Here's my super-complex patch btw, to achieve exactly the same thing
from userspace without involving any kernel or systemd patching and
kernel-side logic. Simply edit your own ~/.bashrc and add this to the end:

if [ "$PS1" ] ; then
mkdir -m 0700 /sys/fs/cgroup/cpu/user/$$
echo $$ > /sys/fs/cgroup/cpu/user/$$/tasks
fi
Then, as the superuser do this:

mount -t cgroup cgroup /sys/fs/cgroup/cpu -o cpu
mkdir -m 0777 /sys/fs/cgroup/cpu/user

Done. Same effect. However: not crazy.
strzel_a est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 20/11/2010, 04h02   #2
Membre confirmé
 
Avatar de Jihnn
 
Inscription : décembre 2005
Messages : 330
Détails du profil
Informations forums :
Inscription : décembre 2005
Messages : 330
Points : 216
Points : 216
Linus Torvalds a peut-être fait de grands logiciels, mais qu'est-ce qu'il peut être con, arrogant et prétentieux. De tous ses messages que j'ai pu lire, ils montrent à chaque fois qu'il est incapable de montrer du respect aux autres. C'est désolant.

P.S. Désolé d'être un peu agressif dans mes propos, mais c'est exactement les sentiments que je ressens face à Linus.
Jihnn est déconnecté   Envoyer un message privé Réponse avec citation 70
Réponse Proposer ce sujet en actualité
Outils de la discussion



Fuseau horaire GMT +2. Il est actuellement 18h57.


 
 
 
 
Partenaires

Hébergement Web