Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 157474
b: refs/heads/master
c: 2ddddf3
h: refs/heads/master
v: v3
  • Loading branch information
Heiko Carstens authored and Martin Schwidefsky committed Sep 11, 2009
1 parent d1c8a38 commit 4de99ab
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 22 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5dd1d2ece0250125fec2dcccbfb8ab9bb2ac020c
refs/heads/master: 2ddddf3e0a55a7fcd6f240a7416cfcb12dd38b7e
7 changes: 0 additions & 7 deletions trunk/arch/s390/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -480,13 +480,6 @@ config CMM_IUCV
Select this option to enable the special message interface to
the cooperative memory management.

config PAGE_STATES
bool "Unused page notification"
help
This enables the notification of unused pages to the
hypervisor. The ESSA instruction is used to do the states
changes between a page that has content and the unused state.

config APPLDATA_BASE
bool "Linux - VM Monitor Stream, base infrastructure"
depends on PROC_FS
Expand Down
4 changes: 0 additions & 4 deletions trunk/arch/s390/include/asm/page.h
Original file line number Diff line number Diff line change
Expand Up @@ -125,17 +125,13 @@ page_get_storage_key(unsigned long addr)
return skey;
}

#ifdef CONFIG_PAGE_STATES

struct page;
void arch_free_page(struct page *page, int order);
void arch_alloc_page(struct page *page, int order);

#define HAVE_ARCH_FREE_PAGE
#define HAVE_ARCH_ALLOC_PAGE

#endif

#endif /* !__ASSEMBLY__ */

#define __PAGE_OFFSET 0x0UL
Expand Down
4 changes: 0 additions & 4 deletions trunk/arch/s390/include/asm/system.h
Original file line number Diff line number Diff line change
Expand Up @@ -109,11 +109,7 @@ extern void pfault_fini(void);
#define pfault_fini() do { } while (0)
#endif /* CONFIG_PFAULT */

#ifdef CONFIG_PAGE_STATES
extern void cmma_init(void);
#else
static inline void cmma_init(void) { }
#endif

#define finish_arch_switch(prev) do { \
set_fs(current->thread.mm_segment); \
Expand Down
4 changes: 2 additions & 2 deletions trunk/arch/s390/mm/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Makefile for the linux s390-specific parts of the memory manager.
#

obj-y := init.o fault.o extmem.o mmap.o vmem.o pgtable.o maccess.o
obj-y := init.o fault.o extmem.o mmap.o vmem.o pgtable.o maccess.o \
page-states.o
obj-$(CONFIG_CMM) += cmm.o
obj-$(CONFIG_HUGETLB_PAGE) += hugetlbpage.o
obj-$(CONFIG_PAGE_STATES) += page-states.o
6 changes: 2 additions & 4 deletions trunk/arch/s390/mm/page-states.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
/*
* arch/s390/mm/page-states.c
*
* Copyright IBM Corp. 2008
*
* Guest page hinting for unused pages.
Expand All @@ -17,11 +15,12 @@
#define ESSA_SET_STABLE 1
#define ESSA_SET_UNUSED 2

static int cmma_flag;
static int cmma_flag = 1;

static int __init cmma(char *str)
{
char *parm;

parm = strstrip(str);
if (strcmp(parm, "yes") == 0 || strcmp(parm, "on") == 0) {
cmma_flag = 1;
Expand All @@ -32,7 +31,6 @@ static int __init cmma(char *str)
return 1;
return 0;
}

__setup("cmma=", cmma);

void __init cmma_init(void)
Expand Down

0 comments on commit 4de99ab

Please sign in to comment.