* Doubt regarding PageLocked in Linux kernel source
@ 2012-04-19 6:58 Shashidhara Shamaiah
2012-04-19 7:37 ` Ram Tummala
0 siblings, 1 reply; 2+ messages in thread
From: Shashidhara Shamaiah @ 2012-04-19 6:58 UTC (permalink / raw)
To: kernelnewbies
Hi,
I was looking at the source file fs/jbd/transaction.c . In the function
journal_invalidatepage the code calls the macro
PageLocked . I need to look at its implementation. I could locate where
the definition of PageLocked. Its not a function as its absent in the
System.map file. I have searched in internet. It was defined as a macro
in older kernels. But I could not get its definition in the recent
kernels. Please point me to the right direction.
Regards
Shashidhara
Information transmitted by this e-mail is proprietary to MphasiS, its associated companies and/ or its customers and is intended
for use only by the individual or entity to which it is addressed, and may contain information that is privileged, confidential or
exempt from disclosure under applicable law. If you are not the intended recipient or it appears that this mail has been forwarded
to you without proper authority, you are notified that any use or dissemination of this information in any manner is strictly
prohibited. In such cases, please notify us immediately at mailmaster at mphasis.com and delete this mail from your records.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20120419/afba4453/attachment.html
^ permalink raw reply [flat|nested] 2+ messages in thread
* Doubt regarding PageLocked in Linux kernel source
2012-04-19 6:58 Doubt regarding PageLocked in Linux kernel source Shashidhara Shamaiah
@ 2012-04-19 7:37 ` Ram Tummala
0 siblings, 0 replies; 2+ messages in thread
From: Ram Tummala @ 2012-04-19 7:37 UTC (permalink / raw)
To: kernelnewbies
On Apr 19, 2012, at 12:15 AM, Shashidhara Shamaiah <
Shashidhara.Shamaiah@mphasis.com> wrote:
Hi,
I was looking at the source file fs/jbd/transaction.c . In the function
journal_invalidatepage the code calls the macro
PageLocked . I need to look at its implementation. I could locate where the
definition of PageLocked. Its not a function as its absent in the
System.map file. I have searched in internet. It was defined as a macro in
older kernels. But I could not get its definition in the recent kernels.
Please point me to the right direction.
Yes, it's not a function, it's a macro. Page flags are cleverly implemented
in the Linux kernel as macros. You wont be able to cscope into it. See
http://lxr.linux.no/linux+v3.3.2/include/linux/page-flags.h for
implementation details.
Venkatram Tummala
Regards
Shashidhara
Information transmitted by this e-mail is proprietary to MphasiS, its
associated companies and/ or its customers and is intended
for use only by the individual or entity to which it is addressed, and may
contain information that is privileged, confidential or
exempt from disclosure under applicable law. If you are not the intended
recipient or it appears that this mail has been forwarded
to you without proper authority, you are notified that any use or
dissemination of this information in any manner is strictly
prohibited. In such cases, please notify us immediately at
mailmaster at mphasis.com and delete this mail from your records.
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies at kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20120419/bcc98e35/attachment.html
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-04-19 7:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-19 6:58 Doubt regarding PageLocked in Linux kernel source Shashidhara Shamaiah
2012-04-19 7:37 ` Ram Tummala
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).