Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
I
init
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MyCard
init
Commits
ced6d173
Commit
ced6d173
authored
Jul 31, 2021
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
improve
parent
9defedce
Pipeline
#4387
failed with stage
in 9 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
4 deletions
+7
-4
tasks/kernel/entry.yml
tasks/kernel/entry.yml
+1
-1
tasks/kernel/fast-again.yml
tasks/kernel/fast-again.yml
+6
-3
No files found.
tasks/kernel/entry.yml
View file @
ced6d173
...
@@ -9,4 +9,4 @@
...
@@ -9,4 +9,4 @@
when
:
ansible_distribution == 'Debian'
when
:
ansible_distribution == 'Debian'
-
name
:
make linux fast again
-
name
:
make linux fast again
include_tasks
:
'
fast-again.yml'
include_tasks
:
'
fast-again.yml'
#
when: ansible_os_family == 'Debian'
when
:
ansible_os_family == 'Debian'
tasks/kernel/fast-again.yml
View file @
ced6d173
...
@@ -4,13 +4,16 @@
...
@@ -4,13 +4,16 @@
path
:
/etc/default/grub
path
:
/etc/default/grub
marker
:
'
#
{mark}
MyCard
Init
block'
marker
:
'
#
{mark}
MyCard
Init
block'
block
:
|
block
:
|
MYCARD_INIT_KERNEL_PARAMS=""
## add make-linux-fast-again params
## add make-linux-fast-again params
FAST_AGAIN_PARAMS="noibrs noibpb nopti nospectre_v2 nospectre_v1 l1tf=off nospec_store_bypass_disable no_stf_barrier mds=off tsx=on tsx_async_abort=off mitigations=off"
MAKE_LINUX_
FAST_AGAIN_PARAMS="noibrs noibpb nopti nospectre_v2 nospectre_v1 l1tf=off nospec_store_bypass_disable no_stf_barrier mds=off tsx=on tsx_async_abort=off mitigations=off"
GRUB_CMDLINE_LINUX_DEFAULT="$GRUB_CMDLINE_LINUX_DEFAULT $
FAST_AGAIN_PARAMS"
MYCARD_INIT_KERNEL_PARAMS="$MYCARD_INIT_KERNEL_PARAMS $MAKE_LINUX_
FAST_AGAIN_PARAMS"
{% for param in extra_params %}
{% for param in extra_params %}
## add custom param {{param}}
## add custom param {{param}}
GRUB_CMDLINE_LINUX_DEFAULT="$GRUB_CMDLINE_LINUX_DEFAULT
{{param}}"
MYCARD_INIT_KERNEL_PARAMS="$MYCARD_INIT_KERNEL_PARAMS
{{param}}"
{% endfor %}
{% endfor %}
## set params
GRUB_CMDLINE_LINUX_DEFAULT="$GRUB_CMDLINE_LINUX_DEFAULT $MYCARD_INIT_KERNEL_PARAMS"
register
:
grub_block_result
register
:
grub_block_result
-
name
:
update-grub
-
name
:
update-grub
become
:
true
become
:
true
...
...
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