On Thu, Dec 15, 2005 at 05:53:55PM +0100, Leonardo Canducci wrote: > premetto che da quasi due anni ho un portatile con pentium M e che sto > usando sarge con un kernel compilato per pentium M e funziona tutto a > meraviglia. > > ho appena installato una ubuntu breezy su un'altra partizione e ho > notato che funziona quasi tutto subito: wlan, speedstep, ecc. con un > kernel 686 precompilato.
il fatto che i driver funzionino subito c'entra poco con quello che chiedi in seguito, "ottimizzare" le istruzioni per un processore o un'altro della stessa famiglia non ne preclude il funzionamento (dei driver). Il "686", come vedrai sotto, e' solo leggermente piu' conservativo rispetto a al "PentiumM". > mi domandavo: > 1. come mai non esistono kernel precompilati ottimizzati per pentium M? > 2. come mai molta gente - anche non newbies - usano un kernel 686 col > pentium M? > 3. che differenze ci sono tra un kernel compilato con > CONFIG_MPENTIUMM=y, ottimizzato per pentium M, e CONFIG_M686=y? > 4. in definitiva vale la pena ricompilare con CONFIG_MPENTIUMM=y? no, guarda: grep -r CONFIG_MPENTIUMM arch/* arch/i386/Makefile.cpu:cflags-$(CONFIG_MPENTIUMM) += -march=i686 $(call tune,pentium3) arch/i386/defconfig:# CONFIG_MPENTIUMM is not set grep -r CONFIG_MPENTIUMIII arch/* arch/i386/Makefile.cpu:cflags-$(CONFIG_MPENTIUMIII) += -march=i686 $(call tune,pentium3) arch/i386/defconfig:# CONFIG_MPENTIUMIII is not set grep -r CONFIG_M686 arch/* arch/i386/Makefile.cpu:cflags-$(CONFIG_M686) += -march=i686 arch/i386/defconfig:# CONFIG_M686 is not set > sapete indicarmi qualche documento dove viene trattato l'argomento? ho no, spiacente. Anzi si, cerca "-mtune" per gli x86 in man gcc. -- mattia :wq! -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

