[Linuxtrent] Re: lumi sul define..

  • From: Luca Bigliardi <shammash@xxxxxxxxx>
  • To: linuxtrent@xxxxxxxxxxxxx
  • Date: Mon, 7 Apr 2003 00:17:54 +0200

On Sun, 6 Apr 2003 23:44:03 +0200 Flavio Stanchina
<flavio.stanchina@xxxxxx> wrote:

> Magari fai un bel grep PF_FSTRANS in tutta la patch per essere sicuro 
> che non dipenda da qualche valore particolare (ad esempio dal fatto
> che stia in 16 bit), ma dovresti essere a posto così.

ok ti ringrazio,
siccome ce ne sono anche altre di aggiunte ho optato per questa
soluzione:

#define PF_ALIGNWARN   0x00000001
#define PF_STARTING    0x00000002
#define PF_EXITING     0x00000004
#define PF_FORKNOEXEC  0x00000040
#define PF_SUPERPRIV   0x00000100
#define PF_DUMPCORE    0x00000200
#define PF_SIGNALED    0x00000400
#define PF_MEMALLOC    0x00000800
#define PF_FREE_PAGES  0x00002000
#define PF_NOIO        0x00004000
#define PF_FSTRANS     0x00008000 x
#define PF_FROZEN      0x00200000 x
#define PF_FREEZE      0x00010000 x
#define PF_IOTHREAD    0x00020000 x
#define PF_REFRIGERATE 0x00040000 x
#define PF_BATCH       0x00080000
#define PF_USEDFPU     0x00100000

ho "gironzolato" tra le righe ma non mi pare ci siano limitazioni.
Gia' che ci sono ti faccio un'altra domanda:
proseguendo dentro al kernel ck4 e' saltato fuori nell'enum CTL_KERN
names:
        KERN_LOWLATENCY=55,     /* int: enable low latency scheduling */
        KERN_KDB=56,            /* int: kdb on/off */
e nella patch c'e' :
       KERN_SWSUSP=55,         /* struct: interface to activate software
                                suspension */
mi basta fare un KERN_SWSUSP=57 anche qui? Ad occhio direi che vale lo
stesso discorso di prima..

ciao e grazie
        Luca


-- 
I will use Google before asking dumb questions.
I will use Google before asking dumb questions.
I will use Google before asking dumb questions.

        Bart Simpson

Linux Registered User # 286841
--
Per iscriversi  (o disiscriversi), basta spedire un  messaggio con SOGGETTO
"subscribe" (o "unsubscribe") a mailto:linuxtrent-request@xxxxxxxxxxxxx


Other related posts: