Turn on CONFIG_REFCOUNT_FULL for non-x86 arches

Bug #1811162 reported by Steve Beattie
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Triaged
High
Unassigned

Bug Description

The upstream kernel has added refcount protection, in two ways. For arches that have provided a fast refcount_t implementation, they get it automatically (this is signaled by ARCH_HAS_REFCOUNT, which as of 4.20 kernels, is only the x86 arch). For other arches, they can get refcount protection via the CONFIG_REFCOUNT_FULL configure option. The upstream arm64 and arm maintainers have enabled this configuration by default for those arches, which has been carried into the ubuntu kernel config. We should enable that for our other arches that do not provide ARCH_HAS_REFCOUNT, namely ppc64el and s390x, to gain protection parity with the rest of the architectures supported by ubuntu kernels.

Tags: cscc
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:

apport-collect 1811162

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Steve Beattie (sbeattie)
Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Brad Figg (brad-figg)
tags: added: cscc
Tyler Hicks (tyhicks)
Changed in linux (Ubuntu):
status: Confirmed → Triaged
importance: Undecided → High
assignee: nobody → Tyler Hicks (tyhicks)
Tyler Hicks (tyhicks)
Changed in linux (Ubuntu):
assignee: Tyler Hicks (tyhicks) → nobody
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.