Re: Can I use the same .config file to compile 32-bit and 64-bit kernel?

2017-07-07 Thread Mulyadi Santosa
On Thu, Jul 6, 2017 at 11:02 AM, Hao Lee  wrote:

> Hi,
>
> I'm currently configuring a custom kernel on Fedora x86_64. The first
> option on the configuration menu is "64-bit kernel" which I think is
> the only option controlling the architecture of kernel. Copying this
> .config file to a 32-bit system directly and turning off this option,
> can I compile a 32-bit kernel which doesn't have any hidden problems?
> If this way is feasible, I think the only difference between these two
> kernels is architecture.
>
> Regards,
> Hao Lee
>
> ___
> Kernelnewbies mailing list
> Kernelnewbies@kernelnewbies.org
> https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>

Hi

To the best  I could recall, 32 vs 64 bit mainly affect vm split. in 32
bit, you have 3:1, in 64 bit, there is none and I am not sure that is
automatically decided by Kconfig simply by selecting 32 or 64 bit arch.

CMIIW


-- 
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Can I use the same .config file to compile 32-bit and 64-bit kernel?

2017-07-05 Thread Hao Lee
Hi,

I'm currently configuring a custom kernel on Fedora x86_64. The first
option on the configuration menu is "64-bit kernel" which I think is
the only option controlling the architecture of kernel. Copying this
.config file to a 32-bit system directly and turning off this option,
can I compile a 32-bit kernel which doesn't have any hidden problems?
If this way is feasible, I think the only difference between these two
kernels is architecture.

Regards,
Hao Lee

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies