Skip to contentSkip to conversation

mm:highmem.h remove obsolete memclear_highpage_flush() call.

PATCH In review Justin P. Mattock 1 participant 2 messages May 18, 2010 – May 24, 2010

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mm:highmem.h remove obsolete memclear_highpage_flush() call.

memclear_highpage_flush has been changed over to
zero_user_page for some time now. I think it's
safe to say it's o.k. to remove all of it.
(but correct me if I'm wrong).

---
 include/linux/highmem.h |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)
include/linux/highmem.h +0 -6
index 74152c0..c77f913 100644
@@ -173,12 +173,6 @@ static inline void zero_user(struct page *page,
 	zero_user_segments(page, start, start + size, 0, 0);
 }
 
-static inline void __deprecated memclear_highpage_flush(struct page *page,
-			unsigned int offset, unsigned int size)
-{
-	zero_user(page, offset, size);
-}
-
 #ifndef __HAVE_ARCH_COPY_USER_HIGHPAGE
 
 static inline void copy_user_highpage(struct page *to, struct page *from,
Signature · 7 lines
1.6.5.2.180.gc5b3e

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to [email protected].  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
#1 lore raw
Quoted 30 lines · Justin P. Mattock

memclear_highpage_flush has been changed over to zero_user_page for some time now. I think it's safe to say it's o.k. to remove all of it. (but correct me if I'm wrong).

---
 include/linux/highmem.h |    6 ------

 1 files changed, 0 insertions(+), 6 deletions(-)
include/linux/highmem.h +0 -7
index 74152c0..c77f913 100644
@@ -173,12 +173,6 @@ static inline void zero_user(struct page *page,
        zero_user_segments(page, start, start + size, 0, 0);
  }
 
-static inline void __deprecated memclear_highpage_flush(struct page *page,
-                       unsigned int offset, unsigned int size)
-{
-       zero_user(page, offset, size);
-}
-
  #ifndef __HAVE_ARCH_COPY_USER_HIGHPAGE
 
  static inline void copy_user_highpage(struct page *to, struct page *from,
--
Quoted 3 lines

1.6.5.2.180.gc5b3e

no response on this yet..
is it safe to say this can go in
my reject pile?

Signature · 7 lines
Justin P. Mattock

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to [email protected].  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>