Skip to content

Commit f79cd04

Browse files
miktcopybara-github
authored andcommitted
[PA] Scheduler-Loop Quarantine is configured via JSON
Remove `features::kPartitionAllocZappingByFreeFlags` and merge it with `features::kPartitionAllocSchedulerLoopQuarantine` because they are always used together. Also remove params `kPartitionAllocSchedulerLoopQuarantineBranchCapacity` and `kPartitionAllocSchedulerLoopQuarantineBrowserUICapacity`, and instead add one combined string parameter `kPartitionAllocSchedulerLoopQuarantineConfig`. It is more scalable as we are going to adjust parameters per process. Change-Id: I3c4f380ea304c32d6914317747202f36136942e9 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6790127 Reviewed-by: Lei Zhang <[email protected]> Commit-Queue: Mikihito Matsuura <[email protected]> Cr-Commit-Position: refs/heads/main@{#1496362} NOKEYCHECK=True GitOrigin-RevId: 5f573cac5ae375d8080b84b64a4a9c292ee82379
1 parent 22ea4ea commit f79cd04

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/partition_alloc/scheduler_loop_quarantine.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,8 @@ struct SchedulerLoopQuarantineConfig {
7878
bool leak_on_destruction = false;
7979
bool enable_quarantine = false;
8080
bool enable_zapping = false;
81+
// For informational purposes only.
82+
char branch_name[32] = "";
8183
};
8284

8385
class PA_COMPONENT_EXPORT(PARTITION_ALLOC) SchedulerLoopQuarantineRoot {

0 commit comments

Comments
 (0)