diff options
Diffstat (limited to 'pkg/sentry/pgalloc/reclaim_set.go')
-rw-r--r-- | pkg/sentry/pgalloc/reclaim_set.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pkg/sentry/pgalloc/reclaim_set.go b/pkg/sentry/pgalloc/reclaim_set.go index 5c62c03fe..737f38776 100644 --- a/pkg/sentry/pgalloc/reclaim_set.go +++ b/pkg/sentry/pgalloc/reclaim_set.go @@ -1560,8 +1560,8 @@ type reclaimSegmentDataSlices struct { Values []reclaimSetValue } -// ExportSortedSlice returns a copy of all segments in the given set, in ascending -// key order. +// ExportSortedSlices returns a copy of all segments in the given set, in +// ascending key order. func (s *reclaimSet) ExportSortedSlices() *reclaimSegmentDataSlices { var sds reclaimSegmentDataSlices for seg := s.FirstSegment(); seg.Ok(); seg = seg.NextSegment() { @@ -1575,7 +1575,7 @@ func (s *reclaimSet) ExportSortedSlices() *reclaimSegmentDataSlices { return &sds } -// ImportSortedSlice initializes the given set from the given slice. +// ImportSortedSlices initializes the given set from the given slice. // // Preconditions: // * s must be empty. |