patch for BFS and BFQ