Google
  Web www.spinics.net

Re: Changing the page attributes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]




On Tue, Jul 10, 2012 at 9:42 PM, Mulyadi Santosa <mulyadi.santosa@xxxxxxxxx> wrote:
Hi..

On Tue, Jul 10, 2012 at 6:51 PM, Arun KS <getarunks@xxxxxxxxx> wrote:
> Hello Experts,
>
> I have a requirement to change __log_buf memory(kernel printk buffer)
> as non cacheable memory.
> How can I change the page attributes for changing cache policy to non cacheable?

I just can give short clue. I think somehow you must find its PTE
entry...there, IIRC there is page attribute that can be changed to
make it uncacheable.

cross check the Intel processor manual for further clarification (if
it's indeed x86 arch)

--
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


The __log_buf is a static array. Will it be in cacheable page? And by cacheable here, I guess we mean entry present in page cache, right?

- Rohan



_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[Newbies FAQ]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Networking]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]

Add to Google Powered by Linux