Does CPU set the Referenced bit Memory Management

2015-02-05 Thread Rakhi Hemani
Hi,

I want to understand the mechanism by which linux marks a page as
referenced.

According to the documentation in Understanding The Linux Virtual Memory
Manager Figure 11.6 and Table 3.1, there is a bit PG_referenced that can
be queried to test if the page was accessed.

I want to ask if the CPU can/does set that bit. Also, is this bit set on a
LLC miss or on a TLB access?

Thanks a lot. Please tell me if there are some manuals/other forums I could
refer to for this question.

-- 
Rakhi Hemani
Phd Scholar
Roll Number PhD1207
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: eudyptula response time

2015-02-05 Thread Drew Fustini
 So relax, go read a good book

That reminds me, I've really been enjoying Free Electrons kernel
training material in between Tasks from Little:
http://free-electrons.com/training/kernel/
See Training materials: slides, practical labs, lab data.

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


Re: Get Mount target from path

2015-02-05 Thread Valdis . Kletnieks
On Wed, 04 Feb 2015 16:23:26 +0900, manty kuma said:

 I would like to know the mount target for a given directory. In kernel, is
 there an API to get the information?

Explain what problem you're trying to solve.  Your example:
/system/bin is a directory its mount partition is /system.
isn't very clear on what you mean.  Do you mean I did a
mount /dev/foox4 /mnt/wombats and now I want to find /dev/foox4,
or did you mean given a pathname or inode, what filesystem is
it on?

(Bonus points for explaining what your solution should do with bind mounts
and overlayfs and other exotic stuff like that)



pgpghb88oxg5W.pgp
Description: PGP signature
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: eudyptula response time

2015-02-05 Thread Patrick Creech

does anyone have an idea when is the response time for task 08? When
  I submitted last december, I was 115th in the queue. I don't want to
  resubmit again fearing that I will be bumped up into the end.
  
  Dean
  
 
 I was also thinking about asking about my current queue-status
 (different task), but oh well. It would be a nice feature if automated.
 Anyways: you're not alone waiting ;)
 
 martin

After asking something similar a few days ago, it was brought to light
that responses will be slow for the moment.  I'm quoting what Giedrius
told me then:

Taken from December 2014 challenge status report:

But note, for everyone, responses for the next month are going to be
very limited.  So relax, go read a good book, take a bike ride, enjoy
the lovely weather outside, don't worry about kernel programming
challenges, they aren't going anywhere, and as this isn't costing you
anything, there's nothing you can do about it.

Also don't resubmit your solution because that will put you at the end
of the queue.

Thanks,
Patrick


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


eudyptula response time

2015-02-05 Thread Dean Michael Ancajas
Hi,
  does anyone have an idea when is the response time for task 08? When
I submitted last december, I was 115th in the queue. I don't want to
resubmit again fearing that I will be bumped up into the end.

Dean

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


Re: eudyptula response time

2015-02-05 Thread Martin Kepplinger
Am 2015-02-05 um 21:06 schrieb Dean Michael Ancajas:
 Hi,
   does anyone have an idea when is the response time for task 08? When
 I submitted last december, I was 115th in the queue. I don't want to
 resubmit again fearing that I will be bumped up into the end.
 
 Dean
 

I was also thinking about asking about my current queue-status
(different task), but oh well. It would be a nice feature if automated.
Anyways: you're not alone waiting ;)

martin


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