Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
7a66fddd
Commit
7a66fddd
authored
May 15, 2003
by
Andrew Morton
Committed by
Linus Torvalds
May 15, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] Allow architecture to overwrite stack flags
This is a bit neater.
parent
77b3055a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
include/linux/mm.h
include/linux/mm.h
+6
-2
No files found.
include/linux/mm.h
View file @
7a66fddd
...
...
@@ -111,10 +111,14 @@ struct vm_area_struct {
#define VM_ACCOUNT 0x00100000
/* Is a VM accounted object */
#define VM_HUGETLB 0x00400000
/* Huge TLB Page VM */
#ifndef VM_STACK_DEFAULT_FLAGS
/* arch can override this */
#define VM_STACK_DEFAULT_FLAGS VM_DATA_DEFAULT_FLAGS
#endif
#ifdef CONFIG_STACK_GROWSUP
#define VM_STACK_FLAGS (VM_GROWSUP | VM_
DATA
_DEFAULT_FLAGS | VM_ACCOUNT)
#define VM_STACK_FLAGS (VM_GROWSUP | VM_
STACK
_DEFAULT_FLAGS | VM_ACCOUNT)
#else
#define VM_STACK_FLAGS (VM_GROWSDOWN | VM_
DATA
_DEFAULT_FLAGS | VM_ACCOUNT)
#define VM_STACK_FLAGS (VM_GROWSDOWN | VM_
STACK
_DEFAULT_FLAGS | VM_ACCOUNT)
#endif
#define VM_READHINTMASK (VM_SEQ_READ | VM_RAND_READ)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment