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
1f261ef5
Commit
1f261ef5
authored
Mar 19, 2008
by
David S. Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[SPARC64]: Allocate TSB node-local.
Signed-off-by:
David S. Miller
<
davem@davemloft.net
>
parent
c1b1a5f1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
arch/sparc64/mm/tsb.c
arch/sparc64/mm/tsb.c
+2
-1
No files found.
arch/sparc64/mm/tsb.c
View file @
1f261ef5
...
...
@@ -321,7 +321,8 @@ void tsb_grow(struct mm_struct *mm, unsigned long tsb_index, unsigned long rss)
if
(
new_size
>
(
PAGE_SIZE
*
2
))
gfp_flags
=
__GFP_NOWARN
|
__GFP_NORETRY
;
new_tsb
=
kmem_cache_alloc
(
tsb_caches
[
new_cache_index
],
gfp_flags
);
new_tsb
=
kmem_cache_alloc_node
(
tsb_caches
[
new_cache_index
],
gfp_flags
,
numa_node_id
());
if
(
unlikely
(
!
new_tsb
))
{
/* Not being able to fork due to a high-order TSB
* allocation failure is very bad behavior. Just back
...
...
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